static_docs 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +178 -2
- data/app/controllers/static_docs/pages_controller.rb +1 -1
- data/app/models/static_docs/page.rb +2 -1
- data/config/routes.rb +1 -1
- data/lib/static_docs/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +2469 -0
- data/test/dummy/sources/namespace/{home.html → index.html} +0 -0
- data/test/dummy/sources/namespace/index.yml +2 -2
- data/test/dummy/sources/root/{home.html → index.html} +0 -0
- data/test/dummy/sources/root/index.yml +2 -2
- data/test/fixtures/static_docs/pages.yml +8 -1
- data/test/unit/static_docs/importer_test.rb +2 -2
- data/test/unit/static_docs/page_test.rb +8 -0
- metadata +8 -8
data/test/dummy/log/test.log
CHANGED
@@ -8877,3 +8877,2472 @@ ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
|
8877
8877
|
[1m[35m (0.1ms)[0m rollback transaction
|
8878
8878
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8879
8879
|
[1m[35m (0.1ms)[0m rollback transaction
|
8880
|
+
Connecting to database specified by database.yml
|
8881
|
+
[1m[36m (7.3ms)[0m [1mbegin transaction[0m
|
8882
|
+
Started GET "/" for 127.0.0.1 at 2013-05-04 17:55:21 +0300
|
8883
|
+
Processing by StaticDocs::PagesController#show as HTML
|
8884
|
+
Parameters: {"page_path"=>"home"}
|
8885
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'home' LIMIT 1
|
8886
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (2.7ms)
|
8887
|
+
Completed 200 OK in 102ms (Views: 37.5ms | ActiveRecord: 2.3ms)
|
8888
|
+
Started GET "/page" for 127.0.0.1 at 2013-05-04 17:55:21 +0300
|
8889
|
+
Processing by StaticDocs::PagesController#show as HTML
|
8890
|
+
Parameters: {"page_path"=>"page"}
|
8891
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
8892
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
8893
|
+
Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
8894
|
+
Started GET "/namespace/page" for 127.0.0.1 at 2013-05-04 17:55:21 +0300
|
8895
|
+
Processing by StaticDocs::PagesController#show as HTML
|
8896
|
+
Parameters: {"page_path"=>"namespace/page"}
|
8897
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
8898
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
8899
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
8900
|
+
Started GET "/markdown" for 127.0.0.1 at 2013-05-04 17:55:21 +0300
|
8901
|
+
Processing by StaticDocs::PagesController#show as HTML
|
8902
|
+
Parameters: {"page_path"=>"markdown"}
|
8903
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
8904
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
8905
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)
|
8906
|
+
Started GET "/wrong" for 127.0.0.1 at 2013-05-04 17:55:21 +0300
|
8907
|
+
Processing by StaticDocs::PagesController#show as HTML
|
8908
|
+
Parameters: {"page_path"=>"wrong"}
|
8909
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
8910
|
+
Completed 404 Not Found in 1ms
|
8911
|
+
|
8912
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
8913
|
+
/Users/mikdiet/projects/opensource/static_docs/app/models/static_docs/page.rb:8:in `matched'
|
8914
|
+
/Users/mikdiet/projects/opensource/static_docs/app/controllers/static_docs/pages_controller.rb:6:in `show'
|
8915
|
+
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
8916
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
|
8917
|
+
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
8918
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
8919
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__855411421259422333__process_action__643368483295099921__callbacks'
|
8920
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
8921
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
8922
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
8923
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
8924
|
+
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
8925
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
8926
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
|
8927
|
+
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
8928
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
|
8929
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
8930
|
+
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
8931
|
+
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
8932
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
|
8933
|
+
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
|
8934
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
|
8935
|
+
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
8936
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
|
8937
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
8938
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
8939
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
8940
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
8941
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
8942
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
8943
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
8944
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
8945
|
+
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
8946
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
8947
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
8948
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
8949
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
8950
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
8951
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
8952
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
8953
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
8954
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
8955
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
8956
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
8957
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
8958
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
8959
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
8960
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
8961
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
8962
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__1777213862301372470__call__2392543473119398643__callbacks'
|
8963
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
8964
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
8965
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
8966
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
8967
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
8968
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
8969
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
8970
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
8971
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
8972
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
8973
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
8974
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
8975
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
8976
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
8977
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
8978
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
8979
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
8980
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
8981
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
8982
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
8983
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
8984
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
8985
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:299:in `process'
|
8986
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:33:in `get'
|
8987
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
8988
|
+
/Users/mikdiet/projects/opensource/static_docs/test/integration/navigation_test.rb:25:in `block in <class:NavigationTest>'
|
8989
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:949:in `run'
|
8990
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
|
8991
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
8992
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:447:in `_run__338831534099960989__setup__2392543473119398643__callbacks'
|
8993
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
8994
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
8995
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
8996
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
8997
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
|
8998
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
|
8999
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
|
9000
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
|
9001
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `each'
|
9002
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
|
9003
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
|
9004
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
|
9005
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
|
9006
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
|
9007
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
|
9008
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
|
9009
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:21:in `run'
|
9010
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
|
9011
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
|
9012
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
|
9013
|
+
|
9014
|
+
|
9015
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms)
|
9016
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
|
9017
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.9ms)
|
9018
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9019
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9020
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "static_docs_pages"[0m
|
9021
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Main page', 'home', '<h3>This is home page</h3>', 'html', '2013-05-04 14:55:21', '2013-05-04 14:55:21', 892078063)
|
9022
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'page', '<h3>This is first level page</h3>', 'html', '2013-05-04 14:55:21', '2013-05-04 14:55:21', 750201913)[0m
|
9023
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'path/to/page', '<h3>This is third level page</h3>', 'html', '2013-05-04 14:55:21', '2013-05-04 14:55:21', 573322620)
|
9024
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'page', 'namespace', '<h3>This is namespaced page</h3>', 'html', '2013-05-04 14:55:21', '2013-05-04 14:55:21', 292621806)[0m
|
9025
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'namespace/page', '<h3>This is not namespaced page</h3>', 'html', '2013-05-04 14:55:21', '2013-05-04 14:55:21', 931033267)
|
9026
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Wrong Namespaced Page', 'page', 'wrong', '<h3>This is wrong namespaced page</h3>', 'html', '2013-05-04 14:55:21', '2013-05-04 14:55:21', 11618465)[0m
|
9027
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Markdown Page', 'markdown', '### This is markdown page', 'md', '2013-05-04 14:55:21', '2013-05-04 14:55:21', 644684649)
|
9028
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Text Page', 'text', 'some text', 'txt', '2013-05-04 14:55:21', '2013-05-04 14:55:21', 326420501)[0m
|
9029
|
+
[1m[35m (0.7ms)[0m commit transaction
|
9030
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9031
|
+
[1m[35mStaticDocs::Page Load (5.8ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','home'))
|
9032
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9033
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 326420501]]
|
9034
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9035
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9036
|
+
[1m[36mSQL (1.3ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 573322620]]
|
9037
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9038
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9039
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 644684649]]
|
9040
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9041
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9042
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 931033267]]
|
9043
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9044
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
9045
|
+
[1m[35mStaticDocs::Page Load (0.0ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
9046
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 573322620]]
|
9047
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
9048
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9049
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9050
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9051
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND (path not in ('page','home'))
|
9052
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'home' LIMIT 1[0m
|
9053
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9054
|
+
[1m[36mSQL (3.3ms)[0m [1mINSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["body", "<p>Hello from namespace!</p>\n"], ["created_at", Sat, 04 May 2013 14:55:21 UTC +00:00], ["extension", "html"], ["namespace", "namespace"], ["path", "home"], ["title", "Namespace Main Page"], ["updated_at", Sat, 04 May 2013 14:55:21 UTC +00:00]]
|
9055
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9056
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9057
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9058
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'This is Just Namespaced Page', "body" = '<p>Hello, Namespace!</p>
|
9059
|
+
', "updated_at" = '2013-05-04 14:55:21.565431' WHERE "static_docs_pages"."id" = 292621806[0m
|
9060
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9061
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'home' LIMIT 1[0m
|
9062
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9063
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
9064
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9065
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','home'))[0m
|
9066
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9067
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 326420501]]
|
9068
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9069
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9070
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 573322620]]
|
9071
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9072
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9073
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 644684649]]
|
9074
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9075
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9076
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 931033267]]
|
9077
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9078
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'home' LIMIT 1
|
9079
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9080
|
+
[1m[35m (0.2ms)[0m UPDATE "static_docs_pages" SET "title" = 'Main Page', "body" = '<p>Hello from homepage!</p>
|
9081
|
+
', "updated_at" = '2013-05-04 14:55:21.578880' WHERE "static_docs_pages"."id" = 892078063
|
9082
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9083
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1
|
9084
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9085
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "<p>Welcome, Newbie!</p>\n"], ["created_at", Sat, 04 May 2013 14:55:21 UTC +00:00], ["extension", "html"], ["namespace", nil], ["path", "getting-started"], ["title", "Getting Started"], ["updated_at", Sat, 04 May 2013 14:55:21 UTC +00:00]]
|
9086
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9087
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9088
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9089
|
+
[1m[35m (0.2ms)[0m UPDATE "static_docs_pages" SET "title" = 'This is Just Page', "body" = '<p>Hello, World!</p>
|
9090
|
+
', "updated_at" = '2013-05-04 14:55:21.584127' WHERE "static_docs_pages"."id" = 750201913
|
9091
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9092
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'home' LIMIT 1
|
9093
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9094
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1
|
9095
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
9096
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9097
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9098
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9099
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
9100
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9101
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9102
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'path/to/page' LIMIT 1
|
9103
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 573322620]]
|
9104
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9105
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9106
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9107
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
9108
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9110
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'text' LIMIT 1
|
9111
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9112
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9113
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9114
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 292621806]]
|
9115
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9116
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9117
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong/page' LIMIT 1[0m
|
9118
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9120
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
9121
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9122
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9123
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9124
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9125
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9126
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9127
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9128
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9129
|
+
Connecting to database specified by database.yml
|
9130
|
+
[1m[36m (7.2ms)[0m [1mbegin transaction[0m
|
9131
|
+
Started GET "/" for 127.0.0.1 at 2013-05-11 15:55:36 +0300
|
9132
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9133
|
+
Parameters: {"page_path"=>"home"}
|
9134
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'home' LIMIT 1
|
9135
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (2.6ms)
|
9136
|
+
Completed 200 OK in 104ms (Views: 37.6ms | ActiveRecord: 2.2ms)
|
9137
|
+
Started GET "/page" for 127.0.0.1 at 2013-05-11 15:55:36 +0300
|
9138
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9139
|
+
Parameters: {"page_path"=>"page"}
|
9140
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9141
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
9142
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
9143
|
+
Started GET "/namespace/page" for 127.0.0.1 at 2013-05-11 15:55:37 +0300
|
9144
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9145
|
+
Parameters: {"page_path"=>"namespace/page"}
|
9146
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9147
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
9148
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)
|
9149
|
+
Started GET "/markdown" for 127.0.0.1 at 2013-05-11 15:55:37 +0300
|
9150
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9151
|
+
Parameters: {"page_path"=>"markdown"}
|
9152
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
9153
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
9154
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms)
|
9155
|
+
Started GET "/wrong" for 127.0.0.1 at 2013-05-11 15:55:37 +0300
|
9156
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9157
|
+
Parameters: {"page_path"=>"wrong"}
|
9158
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
9159
|
+
Completed 404 Not Found in 1ms
|
9160
|
+
|
9161
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
9162
|
+
/Users/mikdiet/projects/opensource/static_docs/app/models/static_docs/page.rb:8:in `matched'
|
9163
|
+
/Users/mikdiet/projects/opensource/static_docs/app/controllers/static_docs/pages_controller.rb:6:in `show'
|
9164
|
+
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
9165
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
|
9166
|
+
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
9167
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
9168
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__1724778810500597862__process_action__868372387653847555__callbacks'
|
9169
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9170
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
9171
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9172
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
9173
|
+
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
9174
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
9175
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
|
9176
|
+
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
9177
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
|
9178
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
9179
|
+
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
9180
|
+
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
9181
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
|
9182
|
+
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
|
9183
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
|
9184
|
+
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
9185
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
|
9186
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
9187
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
9188
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
9189
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
9190
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
9191
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
9192
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
9193
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
9194
|
+
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
9195
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
9196
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
9197
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
9198
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
9199
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
9200
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
9201
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
9202
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
9203
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
9204
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
9205
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
9206
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
9207
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
9208
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
9209
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
9210
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
9211
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__113121953739319978__call__1796105195059955313__callbacks'
|
9212
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9213
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
9214
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9215
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
9216
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
9217
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
9218
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
9219
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
9220
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
9221
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
9222
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
9223
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
9224
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
9225
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
9226
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
9227
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
9228
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
9229
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
9230
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
9231
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
9232
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
9233
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
9234
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:299:in `process'
|
9235
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:33:in `get'
|
9236
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
9237
|
+
/Users/mikdiet/projects/opensource/static_docs/test/integration/navigation_test.rb:25:in `block in <class:NavigationTest>'
|
9238
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:949:in `run'
|
9239
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
|
9240
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
9241
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:447:in `_run__733919398425111160__setup__1796105195059955313__callbacks'
|
9242
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9243
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
9244
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9245
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
9246
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
|
9247
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
|
9248
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
|
9249
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
|
9250
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `each'
|
9251
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
|
9252
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
|
9253
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
|
9254
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
|
9255
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
|
9256
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
|
9257
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
|
9258
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:21:in `run'
|
9259
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
|
9260
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
|
9261
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
|
9262
|
+
|
9263
|
+
|
9264
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
9265
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
9266
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.6ms)
|
9267
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9268
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9269
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "static_docs_pages"[0m
|
9270
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Main page', 'home', '<h3>This is home page</h3>', 'html', '2013-05-11 12:55:37', '2013-05-11 12:55:37', 892078063)
|
9271
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'page', '<h3>This is first level page</h3>', 'html', '2013-05-11 12:55:37', '2013-05-11 12:55:37', 750201913)[0m
|
9272
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'path/to/page', '<h3>This is third level page</h3>', 'html', '2013-05-11 12:55:37', '2013-05-11 12:55:37', 573322620)
|
9273
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'page', 'namespace', '<h3>This is namespaced page</h3>', 'html', '2013-05-11 12:55:37', '2013-05-11 12:55:37', 292621806)[0m
|
9274
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'namespace/page', '<h3>This is not namespaced page</h3>', 'html', '2013-05-11 12:55:37', '2013-05-11 12:55:37', 931033267)
|
9275
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Wrong Namespaced Page', 'page', 'wrong', '<h3>This is wrong namespaced page</h3>', 'html', '2013-05-11 12:55:37', '2013-05-11 12:55:37', 11618465)[0m
|
9276
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Markdown Page', 'markdown', '### This is markdown page', 'md', '2013-05-11 12:55:37', '2013-05-11 12:55:37', 644684649)
|
9277
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Text Page', 'text', 'some text', 'txt', '2013-05-11 12:55:37', '2013-05-11 12:55:37', 326420501)[0m
|
9278
|
+
[1m[35m (0.9ms)[0m commit transaction
|
9279
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9280
|
+
[1m[35mStaticDocs::Page Load (11.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','home'))
|
9281
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9282
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 326420501]]
|
9283
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9284
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9285
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 573322620]]
|
9286
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9287
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9288
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 644684649]]
|
9289
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9290
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9291
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 931033267]]
|
9292
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9293
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
9294
|
+
[1m[35mStaticDocs::Page Load (0.0ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
9295
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 573322620]]
|
9296
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
9297
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9298
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9299
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9300
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND (path not in ('page','home'))
|
9301
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'home' LIMIT 1[0m
|
9302
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9303
|
+
[1m[36mSQL (3.8ms)[0m [1mINSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["body", "<p>Hello from namespace!</p>\n"], ["created_at", Sat, 11 May 2013 12:55:37 UTC +00:00], ["extension", "html"], ["namespace", "namespace"], ["path", "home"], ["title", "Namespace Main Page"], ["updated_at", Sat, 11 May 2013 12:55:37 UTC +00:00]]
|
9304
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9305
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9306
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9307
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'This is Just Namespaced Page', "body" = '<p>Hello, Namespace!</p>
|
9308
|
+
', "updated_at" = '2013-05-11 12:55:37.091239' WHERE "static_docs_pages"."id" = 292621806[0m
|
9309
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9310
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'home' LIMIT 1[0m
|
9311
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9312
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
9313
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9314
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','home'))[0m
|
9315
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9316
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 326420501]]
|
9317
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9318
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9319
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 573322620]]
|
9320
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9321
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9322
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 644684649]]
|
9323
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9324
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9325
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 931033267]]
|
9326
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9327
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'home' LIMIT 1
|
9328
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9329
|
+
[1m[35m (0.2ms)[0m UPDATE "static_docs_pages" SET "title" = 'Main Page', "body" = '<p>Hello from homepage!</p>
|
9330
|
+
', "updated_at" = '2013-05-11 12:55:37.102263' WHERE "static_docs_pages"."id" = 892078063
|
9331
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9332
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1
|
9333
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9334
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "<p>Welcome, Newbie!</p>\n"], ["created_at", Sat, 11 May 2013 12:55:37 UTC +00:00], ["extension", "html"], ["namespace", nil], ["path", "getting-started"], ["title", "Getting Started"], ["updated_at", Sat, 11 May 2013 12:55:37 UTC +00:00]]
|
9335
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9336
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9337
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9338
|
+
[1m[35m (0.1ms)[0m UPDATE "static_docs_pages" SET "title" = 'This is Just Page', "body" = '<p>Hello, World!</p>
|
9339
|
+
', "updated_at" = '2013-05-11 12:55:37.108996' WHERE "static_docs_pages"."id" = 750201913
|
9340
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9341
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'home' LIMIT 1
|
9342
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9343
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1
|
9344
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
9345
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9346
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9347
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9348
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
9349
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9350
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9351
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'path/to/page' LIMIT 1
|
9352
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 573322620]]
|
9353
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9354
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9355
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9356
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
9357
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9358
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9359
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'text' LIMIT 1
|
9360
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9361
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9362
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9363
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 292621806]]
|
9364
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9365
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9366
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong/page' LIMIT 1[0m
|
9367
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9369
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
9370
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9371
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9372
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9373
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9374
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9375
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9376
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9377
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9378
|
+
Connecting to database specified by database.yml
|
9379
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
9380
|
+
Started GET "/" for 127.0.0.1 at 2013-05-11 16:02:26 +0300
|
9381
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9382
|
+
Parameters: {"page_path"=>""}
|
9383
|
+
Completed 404 Not Found in 0ms
|
9384
|
+
|
9385
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
9386
|
+
/Users/mikdiet/projects/opensource/static_docs/app/models/static_docs/page.rb:8:in `matched'
|
9387
|
+
/Users/mikdiet/projects/opensource/static_docs/app/controllers/static_docs/pages_controller.rb:6:in `show'
|
9388
|
+
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
9389
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
|
9390
|
+
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
9391
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
9392
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__1030557536017092332__process_action__4250010764600969729__callbacks'
|
9393
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9394
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
9395
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9396
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
9397
|
+
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
9398
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
9399
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
|
9400
|
+
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
9401
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
|
9402
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
9403
|
+
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
9404
|
+
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
9405
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
|
9406
|
+
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
|
9407
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
|
9408
|
+
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
9409
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
|
9410
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
9411
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
9412
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
9413
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
9414
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
9415
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
9416
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
9417
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
9418
|
+
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
9419
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
9420
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
9421
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
9422
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
9423
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
9424
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
9425
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
9426
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
9427
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
9428
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
9429
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
9430
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
9431
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
9432
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
9433
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
9434
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
9435
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__545914047570362700__call__77578993395970164__callbacks'
|
9436
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9437
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
9438
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9439
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
9440
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
9441
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
9442
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
9443
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
9444
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
9445
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
9446
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
9447
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
9448
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
9449
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
9450
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
9451
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
9452
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
9453
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
9454
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
9455
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
9456
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
9457
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
9458
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:299:in `process'
|
9459
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:33:in `get'
|
9460
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
9461
|
+
/Users/mikdiet/projects/opensource/static_docs/test/integration/navigation_test.rb:7:in `block in <class:NavigationTest>'
|
9462
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:949:in `run'
|
9463
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
|
9464
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
9465
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:447:in `_run__2589975781290577863__setup__77578993395970164__callbacks'
|
9466
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9467
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
9468
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9469
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
9470
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
|
9471
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
|
9472
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
|
9473
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
|
9474
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `each'
|
9475
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
|
9476
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
|
9477
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
|
9478
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
|
9479
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
|
9480
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
|
9481
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
|
9482
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:21:in `run'
|
9483
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
|
9484
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
|
9485
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
|
9486
|
+
|
9487
|
+
|
9488
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
9489
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
9490
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.9ms)
|
9491
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9492
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9493
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "static_docs_pages"
|
9494
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Main page', 'index', '<h3>This is home page</h3>', 'html', '2013-05-11 13:02:26', '2013-05-11 13:02:26', 892078063)[0m
|
9495
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'page', '<h3>This is first level page</h3>', 'html', '2013-05-11 13:02:26', '2013-05-11 13:02:26', 750201913)
|
9496
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'path/to/page', '<h3>This is third level page</h3>', 'html', '2013-05-11 13:02:26', '2013-05-11 13:02:26', 573322620)[0m
|
9497
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'page', 'namespace', '<h3>This is namespaced page</h3>', 'html', '2013-05-11 13:02:26', '2013-05-11 13:02:26', 292621806)
|
9498
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'namespace/page', '<h3>This is not namespaced page</h3>', 'html', '2013-05-11 13:02:26', '2013-05-11 13:02:26', 931033267)[0m
|
9499
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Wrong Namespaced Page', 'page', 'wrong', '<h3>This is wrong namespaced page</h3>', 'html', '2013-05-11 13:02:26', '2013-05-11 13:02:26', 11618465)
|
9500
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Markdown Page', 'markdown', '### This is markdown page', 'md', '2013-05-11 13:02:26', '2013-05-11 13:02:26', 644684649)[0m
|
9501
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Text Page', 'text', 'some text', 'txt', '2013-05-11 13:02:26', '2013-05-11 13:02:26', 326420501)
|
9502
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
9503
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9504
|
+
[1m[36mStaticDocs::Page Load (1.4ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))[0m
|
9505
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9506
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 326420501]]
|
9507
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9508
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9509
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 573322620]]
|
9510
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9511
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9512
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 644684649]]
|
9513
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9515
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 931033267]]
|
9516
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9517
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
9518
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
9519
|
+
[1m[35mStaticDocs::Page Load (0.0ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 573322620]]
|
9520
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
9521
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9522
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9523
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9524
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND (path not in ('page','index'))[0m
|
9525
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
9526
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9527
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "<p>Hello from namespace!</p>\n"], ["created_at", Sat, 11 May 2013 13:02:26 UTC +00:00], ["extension", "html"], ["namespace", "namespace"], ["path", "index"], ["title", "Namespace Main Page"], ["updated_at", Sat, 11 May 2013 13:02:26 UTC +00:00]]
|
9528
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9529
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9531
|
+
[1m[35m (0.4ms)[0m UPDATE "static_docs_pages" SET "title" = 'This is Just Namespaced Page', "body" = '<p>Hello, Namespace!</p>
|
9532
|
+
', "updated_at" = '2013-05-11 13:02:26.625788' WHERE "static_docs_pages"."id" = 292621806
|
9533
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9534
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
9535
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9536
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
9537
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9538
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))
|
9539
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9540
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 326420501]]
|
9541
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9542
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9543
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 573322620]]
|
9544
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9545
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9546
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 644684649]]
|
9547
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9548
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9549
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 931033267]]
|
9550
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9551
|
+
[1m[36mStaticDocs::Page Load (0.6ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
9552
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9553
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'Main Page', "body" = '<p>Hello from homepage!</p>
|
9554
|
+
', "updated_at" = '2013-05-11 13:02:26.635430' WHERE "static_docs_pages"."id" = 892078063[0m
|
9555
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9556
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1[0m
|
9557
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9558
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["body", "<p>Welcome, Newbie!</p>\n"], ["created_at", Sat, 11 May 2013 13:02:26 UTC +00:00], ["extension", "html"], ["namespace", nil], ["path", "getting-started"], ["title", "Getting Started"], ["updated_at", Sat, 11 May 2013 13:02:26 UTC +00:00]]
|
9559
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9560
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9561
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9562
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'This is Just Page', "body" = '<p>Hello, World!</p>
|
9563
|
+
', "updated_at" = '2013-05-11 13:02:26.641731' WHERE "static_docs_pages"."id" = 750201913[0m
|
9564
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9565
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
9566
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9567
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1[0m
|
9568
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
9569
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9570
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9571
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9572
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1
|
9573
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9574
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9575
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'path/to/page' LIMIT 1[0m
|
9576
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 573322620]]
|
9577
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9578
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9579
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9580
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
9581
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9582
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9583
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'text' LIMIT 1[0m
|
9584
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9585
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9586
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9587
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 292621806]]
|
9588
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9589
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9590
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong/page' LIMIT 1
|
9591
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9592
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9593
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1[0m
|
9594
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9595
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9596
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9597
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9598
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9599
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9600
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9601
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9602
|
+
Connecting to database specified by database.yml
|
9603
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
9604
|
+
Started GET "/" for 127.0.0.1 at 2013-05-11 16:02:54 +0300
|
9605
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9606
|
+
Parameters: {"page_path"=>"index"}
|
9607
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
9608
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (2.7ms)
|
9609
|
+
Completed 200 OK in 94ms (Views: 32.3ms | ActiveRecord: 2.2ms)
|
9610
|
+
Started GET "/page" for 127.0.0.1 at 2013-05-11 16:02:54 +0300
|
9611
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9612
|
+
Parameters: {"page_path"=>"page"}
|
9613
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9614
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
9615
|
+
Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)
|
9616
|
+
Started GET "/namespace/page" for 127.0.0.1 at 2013-05-11 16:02:54 +0300
|
9617
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9618
|
+
Parameters: {"page_path"=>"namespace/page"}
|
9619
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9620
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
9621
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)
|
9622
|
+
Started GET "/markdown" for 127.0.0.1 at 2013-05-11 16:02:54 +0300
|
9623
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9624
|
+
Parameters: {"page_path"=>"markdown"}
|
9625
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
9626
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
9627
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
|
9628
|
+
Started GET "/wrong" for 127.0.0.1 at 2013-05-11 16:02:54 +0300
|
9629
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9630
|
+
Parameters: {"page_path"=>"wrong"}
|
9631
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
9632
|
+
Completed 404 Not Found in 1ms
|
9633
|
+
|
9634
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
9635
|
+
/Users/mikdiet/projects/opensource/static_docs/app/models/static_docs/page.rb:8:in `matched'
|
9636
|
+
/Users/mikdiet/projects/opensource/static_docs/app/controllers/static_docs/pages_controller.rb:6:in `show'
|
9637
|
+
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
9638
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
|
9639
|
+
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
9640
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
9641
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__3659606732159114680__process_action__393189442586817209__callbacks'
|
9642
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9643
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
9644
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9645
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
9646
|
+
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
9647
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
9648
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
|
9649
|
+
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
9650
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
|
9651
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
9652
|
+
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
9653
|
+
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
9654
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
|
9655
|
+
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
|
9656
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
|
9657
|
+
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
9658
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
|
9659
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
9660
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
9661
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
9662
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
9663
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
9664
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
9665
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
9666
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
9667
|
+
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
9668
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
9669
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
9670
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
9671
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
9672
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
9673
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
9674
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
9675
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
9676
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
9677
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
9678
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
9679
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
9680
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
9681
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
9682
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
9683
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
9684
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__1438777196197207848__call__4061874241906907346__callbacks'
|
9685
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9686
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
9687
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9688
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
9689
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
9690
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
9691
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
9692
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
9693
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
9694
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
9695
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
9696
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
9697
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
9698
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
9699
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
9700
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
9701
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
9702
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
9703
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
9704
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
9705
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
9706
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
9707
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:299:in `process'
|
9708
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:33:in `get'
|
9709
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
9710
|
+
/Users/mikdiet/projects/opensource/static_docs/test/integration/navigation_test.rb:25:in `block in <class:NavigationTest>'
|
9711
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:949:in `run'
|
9712
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
|
9713
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
9714
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:447:in `_run__2912292227459832767__setup__4061874241906907346__callbacks'
|
9715
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9716
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
9717
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9718
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
9719
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
|
9720
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
|
9721
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
|
9722
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
|
9723
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `each'
|
9724
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
|
9725
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
|
9726
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
|
9727
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
|
9728
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
|
9729
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
|
9730
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
|
9731
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:21:in `run'
|
9732
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
|
9733
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
|
9734
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
|
9735
|
+
|
9736
|
+
|
9737
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
|
9738
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
9739
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.0ms)
|
9740
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9741
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9742
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "static_docs_pages"[0m
|
9743
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Main page', 'index', '<h3>This is home page</h3>', 'html', '2013-05-11 13:02:54', '2013-05-11 13:02:54', 892078063)
|
9744
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'page', '<h3>This is first level page</h3>', 'html', '2013-05-11 13:02:54', '2013-05-11 13:02:54', 750201913)[0m
|
9745
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'path/to/page', '<h3>This is third level page</h3>', 'html', '2013-05-11 13:02:54', '2013-05-11 13:02:54', 573322620)
|
9746
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'page', 'namespace', '<h3>This is namespaced page</h3>', 'html', '2013-05-11 13:02:54', '2013-05-11 13:02:54', 292621806)[0m
|
9747
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'namespace/page', '<h3>This is not namespaced page</h3>', 'html', '2013-05-11 13:02:54', '2013-05-11 13:02:54', 931033267)
|
9748
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Wrong Namespaced Page', 'page', 'wrong', '<h3>This is wrong namespaced page</h3>', 'html', '2013-05-11 13:02:54', '2013-05-11 13:02:54', 11618465)[0m
|
9749
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Markdown Page', 'markdown', '### This is markdown page', 'md', '2013-05-11 13:02:54', '2013-05-11 13:02:54', 644684649)
|
9750
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Text Page', 'text', 'some text', 'txt', '2013-05-11 13:02:54', '2013-05-11 13:02:54', 326420501)[0m
|
9751
|
+
[1m[35m (1.9ms)[0m commit transaction
|
9752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9753
|
+
[1m[35mStaticDocs::Page Load (1.6ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))
|
9754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9755
|
+
[1m[35mSQL (0.5ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 326420501]]
|
9756
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9757
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9758
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 573322620]]
|
9759
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9760
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9761
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 644684649]]
|
9762
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9763
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9764
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 931033267]]
|
9765
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9766
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
9767
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
9768
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 573322620]]
|
9769
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
9770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9771
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9773
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND (path not in ('page','index'))
|
9774
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
9775
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9776
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["body", "<p>Hello from namespace!</p>\n"], ["created_at", Sat, 11 May 2013 13:02:54 UTC +00:00], ["extension", "html"], ["namespace", "namespace"], ["path", "index"], ["title", "Namespace Main Page"], ["updated_at", Sat, 11 May 2013 13:02:54 UTC +00:00]]
|
9777
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9778
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9779
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9780
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'This is Just Namespaced Page', "body" = '<p>Hello, Namespace!</p>
|
9781
|
+
', "updated_at" = '2013-05-11 13:02:54.229796' WHERE "static_docs_pages"."id" = 292621806[0m
|
9782
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9783
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
9784
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9785
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
9786
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9787
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))[0m
|
9788
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9789
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 326420501]]
|
9790
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9791
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9792
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 573322620]]
|
9793
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9794
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9795
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 644684649]]
|
9796
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9797
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9798
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 931033267]]
|
9799
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9800
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
9801
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9802
|
+
[1m[35m (0.1ms)[0m UPDATE "static_docs_pages" SET "title" = 'Main Page', "body" = '<p>Hello from homepage!</p>
|
9803
|
+
', "updated_at" = '2013-05-11 13:02:54.242493' WHERE "static_docs_pages"."id" = 892078063
|
9804
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9805
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1
|
9806
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9807
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "<p>Welcome, Newbie!</p>\n"], ["created_at", Sat, 11 May 2013 13:02:54 UTC +00:00], ["extension", "html"], ["namespace", nil], ["path", "getting-started"], ["title", "Getting Started"], ["updated_at", Sat, 11 May 2013 13:02:54 UTC +00:00]]
|
9808
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9809
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9810
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9811
|
+
[1m[35m (0.1ms)[0m UPDATE "static_docs_pages" SET "title" = 'This is Just Page', "body" = '<p>Hello, World!</p>
|
9812
|
+
', "updated_at" = '2013-05-11 13:02:54.248187' WHERE "static_docs_pages"."id" = 750201913
|
9813
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9814
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
9815
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9816
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1
|
9817
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
9818
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9819
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9820
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9821
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
9822
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9824
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'path/to/page' LIMIT 1
|
9825
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 573322620]]
|
9826
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9828
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9829
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
9830
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9831
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9832
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'text' LIMIT 1
|
9833
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9834
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9835
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9836
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 292621806]]
|
9837
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9838
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9839
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong/page' LIMIT 1[0m
|
9840
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9842
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
9843
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9844
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9845
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9846
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9847
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9848
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9850
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9851
|
+
Connecting to database specified by database.yml
|
9852
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
9853
|
+
Started GET "/" for 127.0.0.1 at 2013-05-11 16:06:20 +0300
|
9854
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9855
|
+
Parameters: {"page_path"=>"index"}
|
9856
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
9857
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (2.1ms)
|
9858
|
+
Completed 200 OK in 88ms (Views: 31.5ms | ActiveRecord: 1.7ms)
|
9859
|
+
Started GET "/page" for 127.0.0.1 at 2013-05-11 16:06:20 +0300
|
9860
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9861
|
+
Parameters: {"page_path"=>"page"}
|
9862
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
9863
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
9864
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
9865
|
+
Started GET "/namespace/page" for 127.0.0.1 at 2013-05-11 16:06:20 +0300
|
9866
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9867
|
+
Parameters: {"page_path"=>"namespace/page"}
|
9868
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
9869
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
9870
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.2ms)
|
9871
|
+
Started GET "/markdown" for 127.0.0.1 at 2013-05-11 16:06:20 +0300
|
9872
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9873
|
+
Parameters: {"page_path"=>"markdown"}
|
9874
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
9875
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
9876
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)
|
9877
|
+
Started GET "/wrong" for 127.0.0.1 at 2013-05-11 16:06:20 +0300
|
9878
|
+
Processing by StaticDocs::PagesController#show as HTML
|
9879
|
+
Parameters: {"page_path"=>"wrong"}
|
9880
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
9881
|
+
Completed 404 Not Found in 1ms
|
9882
|
+
|
9883
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
9884
|
+
/Users/mikdiet/projects/opensource/static_docs/app/models/static_docs/page.rb:8:in `matched'
|
9885
|
+
/Users/mikdiet/projects/opensource/static_docs/app/controllers/static_docs/pages_controller.rb:6:in `show'
|
9886
|
+
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
9887
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
|
9888
|
+
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
9889
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
9890
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__1431912365828297457__process_action__1586937023051825650__callbacks'
|
9891
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9892
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
9893
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9894
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
9895
|
+
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
9896
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
9897
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
|
9898
|
+
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
9899
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
|
9900
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
9901
|
+
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
9902
|
+
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
9903
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
|
9904
|
+
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
|
9905
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
|
9906
|
+
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
9907
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
|
9908
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
9909
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
9910
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
9911
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
9912
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
9913
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
9914
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
9915
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
9916
|
+
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
9917
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
9918
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
9919
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
9920
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
9921
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
9922
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
9923
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
9924
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
9925
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
9926
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
9927
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
9928
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
9929
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
9930
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
9931
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
9932
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
9933
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2713834218515228300__call__609694186735251450__callbacks'
|
9934
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9935
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
9936
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9937
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
9938
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
9939
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
9940
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
9941
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
9942
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
9943
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
9944
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
9945
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
9946
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
9947
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
9948
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
9949
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
9950
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
9951
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
9952
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
9953
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
9954
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
9955
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
9956
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:299:in `process'
|
9957
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:33:in `get'
|
9958
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
9959
|
+
/Users/mikdiet/projects/opensource/static_docs/test/integration/navigation_test.rb:25:in `block in <class:NavigationTest>'
|
9960
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:949:in `run'
|
9961
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
|
9962
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
9963
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:447:in `_run__682669893319979682__setup__609694186735251450__callbacks'
|
9964
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9965
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
9966
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9967
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
9968
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
|
9969
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
|
9970
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
|
9971
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
|
9972
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `each'
|
9973
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
|
9974
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
|
9975
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
|
9976
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
|
9977
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
|
9978
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
|
9979
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
|
9980
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:21:in `run'
|
9981
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
|
9982
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
|
9983
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
|
9984
|
+
|
9985
|
+
|
9986
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
9987
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
9988
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.2ms)
|
9989
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9990
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9991
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "static_docs_pages"[0m
|
9992
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Main page', 'index', '<h3>This is home page</h3>', 'html', '2013-05-11 13:06:20', '2013-05-11 13:06:20', 892078063)
|
9993
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'page', '<h3>This is first level page</h3>', 'html', '2013-05-11 13:06:20', '2013-05-11 13:06:20', 750201913)[0m
|
9994
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'path/to/page', '<h3>This is third level page</h3>', 'html', '2013-05-11 13:06:20', '2013-05-11 13:06:20', 573322620)
|
9995
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Index Page', 'index', 'namespace', '<h3>This is namespaced index page</h3>', 'html', '2013-05-11 13:06:20', '2013-05-11 13:06:20', 149473849)[0m
|
9996
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'page', 'namespace', '<h3>This is namespaced page</h3>', 'html', '2013-05-11 13:06:20', '2013-05-11 13:06:20', 292621806)
|
9997
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'namespace/page', '<h3>This is not namespaced page</h3>', 'html', '2013-05-11 13:06:20', '2013-05-11 13:06:20', 931033267)[0m
|
9998
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Wrong Namespaced Page', 'page', 'wrong', '<h3>This is wrong namespaced page</h3>', 'html', '2013-05-11 13:06:20', '2013-05-11 13:06:20', 11618465)
|
9999
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Markdown Page', 'markdown', '### This is markdown page', 'md', '2013-05-11 13:06:20', '2013-05-11 13:06:20', 644684649)[0m
|
10000
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Text Page', 'text', 'some text', 'txt', '2013-05-11 13:06:20', '2013-05-11 13:06:20', 326420501)
|
10001
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
10002
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10003
|
+
[1m[36mStaticDocs::Page Load (2.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))[0m
|
10004
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10005
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 326420501]]
|
10006
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10007
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10008
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 573322620]]
|
10009
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10010
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10011
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 644684649]]
|
10012
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10013
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10014
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 931033267]]
|
10015
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10016
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
10017
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
10018
|
+
[1m[35mStaticDocs::Page Load (0.0ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 573322620]]
|
10019
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
10020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10021
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10023
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND (path not in ('page','index'))[0m
|
10024
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10025
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10026
|
+
[1m[35m (0.4ms)[0m UPDATE "static_docs_pages" SET "title" = 'Namespace Main Page', "body" = '<p>Hello from namespace!</p>
|
10027
|
+
', "updated_at" = '2013-05-11 13:06:20.391258' WHERE "static_docs_pages"."id" = 149473849
|
10028
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10029
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10030
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10031
|
+
[1m[35m (0.5ms)[0m UPDATE "static_docs_pages" SET "title" = 'This is Just Namespaced Page', "body" = '<p>Hello, Namespace!</p>
|
10032
|
+
', "updated_at" = '2013-05-11 13:06:20.397933' WHERE "static_docs_pages"."id" = 292621806
|
10033
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10034
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10035
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10036
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
10037
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10038
|
+
[1m[35mStaticDocs::Page Load (0.4ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))
|
10039
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10040
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 326420501]]
|
10041
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10042
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10043
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 573322620]]
|
10044
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10045
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10046
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 644684649]]
|
10047
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10048
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10049
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 931033267]]
|
10050
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10051
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
10052
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10053
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'Main Page', "body" = '<p>Hello from homepage!</p>
|
10054
|
+
', "updated_at" = '2013-05-11 13:06:20.408675' WHERE "static_docs_pages"."id" = 892078063[0m
|
10055
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10056
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1[0m
|
10057
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10058
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["body", "<p>Welcome, Newbie!</p>\n"], ["created_at", Sat, 11 May 2013 13:06:20 UTC +00:00], ["extension", "html"], ["namespace", nil], ["path", "getting-started"], ["title", "Getting Started"], ["updated_at", Sat, 11 May 2013 13:06:20 UTC +00:00]]
|
10059
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10060
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10061
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10062
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'This is Just Page', "body" = '<p>Hello, World!</p>
|
10063
|
+
', "updated_at" = '2013-05-11 13:06:20.414820' WHERE "static_docs_pages"."id" = 750201913[0m
|
10064
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10065
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
10066
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10067
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1[0m
|
10068
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10069
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10070
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10071
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10072
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1
|
10073
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10074
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10075
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'path/to/page' LIMIT 1[0m
|
10076
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 573322620]]
|
10077
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10078
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10079
|
+
[1m[36mStaticDocs::Page Load (0.4ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10080
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
10081
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10082
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10083
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10084
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10085
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'text' LIMIT 1[0m
|
10086
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10087
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10088
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'namespace' LIMIT 1
|
10089
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10090
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10091
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10092
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 292621806]]
|
10093
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10094
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10095
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong/page' LIMIT 1[0m
|
10096
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10097
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10098
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
10099
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10100
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10101
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10102
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10103
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10104
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10106
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10107
|
+
Connecting to database specified by database.yml
|
10108
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
10109
|
+
Started GET "/" for 127.0.0.1 at 2013-05-11 16:09:27 +0300
|
10110
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10111
|
+
Parameters: {"page_path"=>"index"}
|
10112
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10113
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (3.3ms)
|
10114
|
+
Completed 200 OK in 96ms (Views: 36.5ms | ActiveRecord: 1.9ms)
|
10115
|
+
Started GET "/page" for 127.0.0.1 at 2013-05-11 16:09:27 +0300
|
10116
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10117
|
+
Parameters: {"page_path"=>"page"}
|
10118
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10119
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
10120
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
|
10121
|
+
Started GET "/namespace/page" for 127.0.0.1 at 2013-05-11 16:09:27 +0300
|
10122
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10123
|
+
Parameters: {"page_path"=>"namespace/page"}
|
10124
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10125
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
10126
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
|
10127
|
+
Started GET "/markdown" for 127.0.0.1 at 2013-05-11 16:09:27 +0300
|
10128
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10129
|
+
Parameters: {"page_path"=>"markdown"}
|
10130
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
10131
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
10132
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
|
10133
|
+
Started GET "/wrong" for 127.0.0.1 at 2013-05-11 16:09:27 +0300
|
10134
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10135
|
+
Parameters: {"page_path"=>"wrong"}
|
10136
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
10137
|
+
Completed 404 Not Found in 1ms
|
10138
|
+
|
10139
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
10140
|
+
/Users/mikdiet/projects/opensource/static_docs/app/models/static_docs/page.rb:8:in `matched'
|
10141
|
+
/Users/mikdiet/projects/opensource/static_docs/app/controllers/static_docs/pages_controller.rb:6:in `show'
|
10142
|
+
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
10143
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
|
10144
|
+
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
10145
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
10146
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__2914341385445559583__process_action__763496877018119784__callbacks'
|
10147
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10148
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
10149
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10150
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
10151
|
+
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
10152
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
10153
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
|
10154
|
+
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
10155
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
|
10156
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
10157
|
+
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
10158
|
+
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
10159
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
|
10160
|
+
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
|
10161
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
|
10162
|
+
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
10163
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
|
10164
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
10165
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
10166
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
10167
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
10168
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
10169
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
10170
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
10171
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
10172
|
+
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
10173
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
10174
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
10175
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
10176
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
10177
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
10178
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
10179
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
10180
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
10181
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
10182
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
10183
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
10184
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
10185
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
10186
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
10187
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
10188
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
10189
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__693767677829070334__call__1213480274576914566__callbacks'
|
10190
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10191
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
10192
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10193
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
10194
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
10195
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
10196
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
10197
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
10198
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
10199
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
10200
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
10201
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
10202
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
10203
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
10204
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
10205
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
10206
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
10207
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
10208
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
10209
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
10210
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
10211
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
10212
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:299:in `process'
|
10213
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:33:in `get'
|
10214
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
10215
|
+
/Users/mikdiet/projects/opensource/static_docs/test/integration/navigation_test.rb:25:in `block in <class:NavigationTest>'
|
10216
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:949:in `run'
|
10217
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
|
10218
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
10219
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:447:in `_run__4542481052205177187__setup__1213480274576914566__callbacks'
|
10220
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10221
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
10222
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10223
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
10224
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
|
10225
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
|
10226
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
|
10227
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
|
10228
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `each'
|
10229
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
|
10230
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
|
10231
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
|
10232
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
|
10233
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
|
10234
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
|
10235
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
|
10236
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:21:in `run'
|
10237
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
|
10238
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
|
10239
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
|
10240
|
+
|
10241
|
+
|
10242
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
10243
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
10244
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.1ms)
|
10245
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10246
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10247
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "static_docs_pages"[0m
|
10248
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Main page', 'index', '<h3>This is home page</h3>', 'html', '2013-05-11 13:09:27', '2013-05-11 13:09:27', 892078063)
|
10249
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'page', '<h3>This is first level page</h3>', 'html', '2013-05-11 13:09:27', '2013-05-11 13:09:27', 750201913)[0m
|
10250
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'path/to/page', '<h3>This is third level page</h3>', 'html', '2013-05-11 13:09:27', '2013-05-11 13:09:27', 573322620)
|
10251
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Index Page', 'index', 'namespace', '<h3>This is namespaced index page</h3>', 'html', '2013-05-11 13:09:27', '2013-05-11 13:09:27', 149473849)[0m
|
10252
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'page', 'namespace', '<h3>This is namespaced page</h3>', 'html', '2013-05-11 13:09:27', '2013-05-11 13:09:27', 292621806)
|
10253
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'namespace/page', '<h3>This is not namespaced page</h3>', 'html', '2013-05-11 13:09:27', '2013-05-11 13:09:27', 931033267)[0m
|
10254
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Wrong Namespaced Page', 'page', 'wrong', '<h3>This is wrong namespaced page</h3>', 'html', '2013-05-11 13:09:27', '2013-05-11 13:09:27', 11618465)
|
10255
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Markdown Page', 'markdown', '### This is markdown page', 'md', '2013-05-11 13:09:27', '2013-05-11 13:09:27', 644684649)[0m
|
10256
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Text Page', 'text', 'some text', 'txt', '2013-05-11 13:09:27', '2013-05-11 13:09:27', 326420501)
|
10257
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
10258
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10259
|
+
[1m[36mStaticDocs::Page Load (1.7ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))[0m
|
10260
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10261
|
+
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 326420501]]
|
10262
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10263
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10264
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 573322620]]
|
10265
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10266
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10267
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 644684649]]
|
10268
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10269
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10270
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 931033267]]
|
10271
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10272
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
10273
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
10274
|
+
[1m[35mStaticDocs::Page Load (0.0ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 573322620]]
|
10275
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
10276
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10277
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10278
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10279
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND (path not in ('page','index'))[0m
|
10280
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10281
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10282
|
+
[1m[35m (0.4ms)[0m UPDATE "static_docs_pages" SET "title" = 'Namespace Main Page', "body" = '<p>Hello from namespace!</p>
|
10283
|
+
', "updated_at" = '2013-05-11 13:09:27.243795' WHERE "static_docs_pages"."id" = 149473849
|
10284
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10285
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10286
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10287
|
+
[1m[35m (0.6ms)[0m UPDATE "static_docs_pages" SET "title" = 'This is Just Namespaced Page', "body" = '<p>Hello, Namespace!</p>
|
10288
|
+
', "updated_at" = '2013-05-11 13:09:27.250194' WHERE "static_docs_pages"."id" = 292621806
|
10289
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10290
|
+
[1m[35mStaticDocs::Page Load (0.5ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10291
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10292
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10293
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10294
|
+
[1m[35mStaticDocs::Page Load (0.4ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))
|
10295
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10296
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 326420501]]
|
10297
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10298
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10299
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 573322620]]
|
10300
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10301
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10302
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 644684649]]
|
10303
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10304
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10305
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 931033267]]
|
10306
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10307
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
10308
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10309
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'Main Page', "body" = '<p>Hello from homepage!</p>
|
10310
|
+
', "updated_at" = '2013-05-11 13:09:27.265326' WHERE "static_docs_pages"."id" = 892078063[0m
|
10311
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10312
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1[0m
|
10313
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10314
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["body", "<p>Welcome, Newbie!</p>\n"], ["created_at", Sat, 11 May 2013 13:09:27 UTC +00:00], ["extension", "html"], ["namespace", nil], ["path", "getting-started"], ["title", "Getting Started"], ["updated_at", Sat, 11 May 2013 13:09:27 UTC +00:00]]
|
10315
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10316
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10317
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10318
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'This is Just Page', "body" = '<p>Hello, World!</p>
|
10319
|
+
', "updated_at" = '2013-05-11 13:09:27.273671' WHERE "static_docs_pages"."id" = 750201913[0m
|
10320
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10321
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
10322
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10323
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1[0m
|
10324
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10325
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10327
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10328
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1
|
10329
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10330
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10331
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'path/to/page' LIMIT 1[0m
|
10332
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 573322620]]
|
10333
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10334
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10335
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10336
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
10337
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10338
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10339
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
10340
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 892078063]]
|
10341
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10342
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10343
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'text' LIMIT 1[0m
|
10344
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10345
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10346
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10347
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 149473849]]
|
10348
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10349
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10350
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10351
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 292621806]]
|
10352
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10353
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10354
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong/page' LIMIT 1
|
10355
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10356
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10357
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1[0m
|
10358
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10359
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10360
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10361
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10362
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10363
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10364
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10365
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10366
|
+
Connecting to database specified by database.yml
|
10367
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
10368
|
+
Started GET "/" for 127.0.0.1 at 2013-05-11 16:09:58 +0300
|
10369
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10370
|
+
Parameters: {"page_path"=>""}
|
10371
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10372
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (2.0ms)
|
10373
|
+
Completed 200 OK in 87ms (Views: 32.1ms | ActiveRecord: 1.9ms)
|
10374
|
+
Started GET "/page" for 127.0.0.1 at 2013-05-11 16:09:58 +0300
|
10375
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10376
|
+
Parameters: {"page_path"=>"page"}
|
10377
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10378
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
10379
|
+
Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
|
10380
|
+
Started GET "/namespace/page" for 127.0.0.1 at 2013-05-11 16:09:58 +0300
|
10381
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10382
|
+
Parameters: {"page_path"=>"namespace/page"}
|
10383
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10384
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
10385
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)
|
10386
|
+
Started GET "/markdown" for 127.0.0.1 at 2013-05-11 16:09:58 +0300
|
10387
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10388
|
+
Parameters: {"page_path"=>"markdown"}
|
10389
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
10390
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
10391
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)
|
10392
|
+
Started GET "/wrong" for 127.0.0.1 at 2013-05-11 16:09:58 +0300
|
10393
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10394
|
+
Parameters: {"page_path"=>"wrong"}
|
10395
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
10396
|
+
Completed 404 Not Found in 1ms
|
10397
|
+
|
10398
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
10399
|
+
/Users/mikdiet/projects/opensource/static_docs/app/models/static_docs/page.rb:8:in `matched'
|
10400
|
+
/Users/mikdiet/projects/opensource/static_docs/app/controllers/static_docs/pages_controller.rb:6:in `show'
|
10401
|
+
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
10402
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
|
10403
|
+
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
10404
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
10405
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__578008877823757867__process_action__3588226566923515769__callbacks'
|
10406
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10407
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
10408
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10409
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
10410
|
+
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
10411
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
10412
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
|
10413
|
+
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
10414
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
|
10415
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
10416
|
+
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
10417
|
+
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
10418
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
|
10419
|
+
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
|
10420
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
|
10421
|
+
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
10422
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
|
10423
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
10424
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
10425
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
10426
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
10427
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
10428
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
10429
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
10430
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
10431
|
+
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
10432
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
10433
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
10434
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
10435
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
10436
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
10437
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
10438
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
10439
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
10440
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
10441
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
10442
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
10443
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
10444
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
10445
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
10446
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
10447
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
10448
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__4087871204609583542__call__2851369235377440454__callbacks'
|
10449
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10450
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
10451
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10452
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
10453
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
10454
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
10455
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
10456
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
10457
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
10458
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
10459
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
10460
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
10461
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
10462
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
10463
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
10464
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
10465
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
10466
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
10467
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
10468
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
10469
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
10470
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
10471
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:299:in `process'
|
10472
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:33:in `get'
|
10473
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
10474
|
+
/Users/mikdiet/projects/opensource/static_docs/test/integration/navigation_test.rb:25:in `block in <class:NavigationTest>'
|
10475
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:949:in `run'
|
10476
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
|
10477
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
10478
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:447:in `_run__9631628443349718__setup__2851369235377440454__callbacks'
|
10479
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10480
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
10481
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10482
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
10483
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
|
10484
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
|
10485
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
|
10486
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
|
10487
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `each'
|
10488
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
|
10489
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
|
10490
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
|
10491
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
|
10492
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
|
10493
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
|
10494
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
|
10495
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:21:in `run'
|
10496
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
|
10497
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
|
10498
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
|
10499
|
+
|
10500
|
+
|
10501
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
10502
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
10503
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.9ms)
|
10504
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10505
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10506
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "static_docs_pages"[0m
|
10507
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Main page', 'index', '<h3>This is home page</h3>', 'html', '2013-05-11 13:09:58', '2013-05-11 13:09:58', 892078063)
|
10508
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'page', '<h3>This is first level page</h3>', 'html', '2013-05-11 13:09:58', '2013-05-11 13:09:58', 750201913)[0m
|
10509
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'path/to/page', '<h3>This is third level page</h3>', 'html', '2013-05-11 13:09:58', '2013-05-11 13:09:58', 573322620)
|
10510
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Index Page', 'index', 'namespace', '<h3>This is namespaced index page</h3>', 'html', '2013-05-11 13:09:58', '2013-05-11 13:09:58', 149473849)[0m
|
10511
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'page', 'namespace', '<h3>This is namespaced page</h3>', 'html', '2013-05-11 13:09:58', '2013-05-11 13:09:58', 292621806)
|
10512
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'namespace/page', '<h3>This is not namespaced page</h3>', 'html', '2013-05-11 13:09:58', '2013-05-11 13:09:58', 931033267)[0m
|
10513
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Wrong Namespaced Page', 'page', 'wrong', '<h3>This is wrong namespaced page</h3>', 'html', '2013-05-11 13:09:58', '2013-05-11 13:09:58', 11618465)
|
10514
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Markdown Page', 'markdown', '### This is markdown page', 'md', '2013-05-11 13:09:58', '2013-05-11 13:09:58', 644684649)[0m
|
10515
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Text Page', 'text', 'some text', 'txt', '2013-05-11 13:09:58', '2013-05-11 13:09:58', 326420501)
|
10516
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
10517
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10518
|
+
[1m[36mStaticDocs::Page Load (1.6ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))[0m
|
10519
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10520
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 326420501]]
|
10521
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10522
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10523
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 573322620]]
|
10524
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10525
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10526
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 644684649]]
|
10527
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10528
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10529
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 931033267]]
|
10530
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10531
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
10532
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
10533
|
+
[1m[35mStaticDocs::Page Load (0.0ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 573322620]]
|
10534
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
10535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10536
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10537
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10538
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND (path not in ('page','index'))[0m
|
10539
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10540
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10541
|
+
[1m[35m (0.4ms)[0m UPDATE "static_docs_pages" SET "title" = 'Namespace Main Page', "body" = '<p>Hello from namespace!</p>
|
10542
|
+
', "updated_at" = '2013-05-11 13:09:58.890903' WHERE "static_docs_pages"."id" = 149473849
|
10543
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10544
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10545
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10546
|
+
[1m[35m (0.6ms)[0m UPDATE "static_docs_pages" SET "title" = 'This is Just Namespaced Page', "body" = '<p>Hello, Namespace!</p>
|
10547
|
+
', "updated_at" = '2013-05-11 13:09:58.897299' WHERE "static_docs_pages"."id" = 292621806
|
10548
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10549
|
+
[1m[35mStaticDocs::Page Load (0.5ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10550
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10551
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10552
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10553
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))
|
10554
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10555
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 326420501]]
|
10556
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10557
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10558
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 573322620]]
|
10559
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10560
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10561
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 644684649]]
|
10562
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10563
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10564
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 931033267]]
|
10565
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10566
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
10567
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10568
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'Main Page', "body" = '<p>Hello from homepage!</p>
|
10569
|
+
', "updated_at" = '2013-05-11 13:09:58.908885' WHERE "static_docs_pages"."id" = 892078063[0m
|
10570
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10571
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1[0m
|
10572
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10573
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["body", "<p>Welcome, Newbie!</p>\n"], ["created_at", Sat, 11 May 2013 13:09:58 UTC +00:00], ["extension", "html"], ["namespace", nil], ["path", "getting-started"], ["title", "Getting Started"], ["updated_at", Sat, 11 May 2013 13:09:58 UTC +00:00]]
|
10574
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10575
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10576
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10577
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'This is Just Page', "body" = '<p>Hello, World!</p>
|
10578
|
+
', "updated_at" = '2013-05-11 13:09:58.916944' WHERE "static_docs_pages"."id" = 750201913[0m
|
10579
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10580
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
10581
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10582
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1[0m
|
10583
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10584
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10585
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10587
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1
|
10588
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10589
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10590
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'path/to/page' LIMIT 1[0m
|
10591
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 573322620]]
|
10592
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10593
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10594
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10595
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
10596
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
10597
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10598
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
10599
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 892078063]]
|
10600
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10601
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10602
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'text' LIMIT 1[0m
|
10603
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10604
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10605
|
+
[1m[35mStaticDocs::Page Load (0.4ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10606
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 149473849]]
|
10607
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10608
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10609
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10610
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 292621806]]
|
10611
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10612
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10613
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong/page' LIMIT 1
|
10614
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10615
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10616
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1[0m
|
10617
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10618
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10619
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10620
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10621
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10622
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10623
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10624
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10625
|
+
Connecting to database specified by database.yml
|
10626
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
10627
|
+
Started GET "/" for 127.0.0.1 at 2013-05-11 16:10:11 +0300
|
10628
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10629
|
+
Completed 500 Internal Server Error in 0ms
|
10630
|
+
|
10631
|
+
NoMethodError (undefined method `partition' for nil:NilClass):
|
10632
|
+
/Users/mikdiet/projects/opensource/static_docs/app/models/static_docs/page.rb:7:in `matched'
|
10633
|
+
/Users/mikdiet/projects/opensource/static_docs/app/controllers/static_docs/pages_controller.rb:6:in `show'
|
10634
|
+
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
10635
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
|
10636
|
+
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
10637
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
10638
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__2688494261845018888__process_action__4373201141097635680__callbacks'
|
10639
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10640
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
10641
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10642
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
10643
|
+
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
10644
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
10645
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
|
10646
|
+
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
10647
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
|
10648
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
10649
|
+
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
10650
|
+
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
10651
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
|
10652
|
+
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
|
10653
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
|
10654
|
+
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
10655
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
|
10656
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
10657
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
10658
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
10659
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
10660
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
10661
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
10662
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
10663
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
10664
|
+
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
10665
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
10666
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
10667
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
10668
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
10669
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
10670
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
10671
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
10672
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
10673
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
10674
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
10675
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
10676
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
10677
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
10678
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
10679
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
10680
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
10681
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__3162121990036334940__call__1717872673002651010__callbacks'
|
10682
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10683
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
10684
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10685
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
10686
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
10687
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
10688
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
10689
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
10690
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
10691
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
10692
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
10693
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
10694
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
10695
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
10696
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
10697
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
10698
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
10699
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
10700
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
10701
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
10702
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
10703
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
10704
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:299:in `process'
|
10705
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:33:in `get'
|
10706
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
10707
|
+
/Users/mikdiet/projects/opensource/static_docs/test/integration/navigation_test.rb:7:in `block in <class:NavigationTest>'
|
10708
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:949:in `run'
|
10709
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
|
10710
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
10711
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:447:in `_run__2455943221597707255__setup__1717872673002651010__callbacks'
|
10712
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10713
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
10714
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10715
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
10716
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
|
10717
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
|
10718
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
|
10719
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
|
10720
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `each'
|
10721
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
|
10722
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
|
10723
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
|
10724
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
|
10725
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
|
10726
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
|
10727
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
|
10728
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:21:in `run'
|
10729
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
|
10730
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
|
10731
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
|
10732
|
+
|
10733
|
+
|
10734
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
10735
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
10736
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.2ms)
|
10737
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10738
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10739
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "static_docs_pages"
|
10740
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Main page', 'index', '<h3>This is home page</h3>', 'html', '2013-05-11 13:10:12', '2013-05-11 13:10:12', 892078063)[0m
|
10741
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'page', '<h3>This is first level page</h3>', 'html', '2013-05-11 13:10:12', '2013-05-11 13:10:12', 750201913)
|
10742
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'path/to/page', '<h3>This is third level page</h3>', 'html', '2013-05-11 13:10:12', '2013-05-11 13:10:12', 573322620)[0m
|
10743
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Index Page', 'index', 'namespace', '<h3>This is namespaced index page</h3>', 'html', '2013-05-11 13:10:12', '2013-05-11 13:10:12', 149473849)
|
10744
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'page', 'namespace', '<h3>This is namespaced page</h3>', 'html', '2013-05-11 13:10:12', '2013-05-11 13:10:12', 292621806)[0m
|
10745
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'namespace/page', '<h3>This is not namespaced page</h3>', 'html', '2013-05-11 13:10:12', '2013-05-11 13:10:12', 931033267)
|
10746
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Wrong Namespaced Page', 'page', 'wrong', '<h3>This is wrong namespaced page</h3>', 'html', '2013-05-11 13:10:12', '2013-05-11 13:10:12', 11618465)[0m
|
10747
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Markdown Page', 'markdown', '### This is markdown page', 'md', '2013-05-11 13:10:12', '2013-05-11 13:10:12', 644684649)
|
10748
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Text Page', 'text', 'some text', 'txt', '2013-05-11 13:10:12', '2013-05-11 13:10:12', 326420501)[0m
|
10749
|
+
[1m[35m (2.1ms)[0m commit transaction
|
10750
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10751
|
+
[1m[35mStaticDocs::Page Load (1.5ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))
|
10752
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10753
|
+
[1m[35mSQL (0.5ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 326420501]]
|
10754
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10755
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10756
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 573322620]]
|
10757
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10758
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10759
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 644684649]]
|
10760
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10761
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10762
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 931033267]]
|
10763
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10764
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
10765
|
+
[1m[35mStaticDocs::Page Load (0.0ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
10766
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 573322620]]
|
10767
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10768
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10769
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10771
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND (path not in ('page','index'))
|
10772
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
10773
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10774
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'Namespace Main Page', "body" = '<p>Hello from namespace!</p>
|
10775
|
+
', "updated_at" = '2013-05-11 13:10:12.123614' WHERE "static_docs_pages"."id" = 149473849[0m
|
10776
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10777
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10778
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10779
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'This is Just Namespaced Page', "body" = '<p>Hello, Namespace!</p>
|
10780
|
+
', "updated_at" = '2013-05-11 13:10:12.129323' WHERE "static_docs_pages"."id" = 292621806[0m
|
10781
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10782
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
10783
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10784
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
10785
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10786
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))[0m
|
10787
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10788
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 326420501]]
|
10789
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10790
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10791
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 573322620]]
|
10792
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10793
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10794
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 644684649]]
|
10795
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10796
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10797
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 931033267]]
|
10798
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10799
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10800
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10801
|
+
[1m[35m (0.1ms)[0m UPDATE "static_docs_pages" SET "title" = 'Main Page', "body" = '<p>Hello from homepage!</p>
|
10802
|
+
', "updated_at" = '2013-05-11 13:10:12.136884' WHERE "static_docs_pages"."id" = 892078063
|
10803
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10804
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1
|
10805
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10806
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "<p>Welcome, Newbie!</p>\n"], ["created_at", Sat, 11 May 2013 13:10:12 UTC +00:00], ["extension", "html"], ["namespace", nil], ["path", "getting-started"], ["title", "Getting Started"], ["updated_at", Sat, 11 May 2013 13:10:12 UTC +00:00]]
|
10807
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10808
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10809
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10810
|
+
[1m[35m (0.1ms)[0m UPDATE "static_docs_pages" SET "title" = 'This is Just Page', "body" = '<p>Hello, World!</p>
|
10811
|
+
', "updated_at" = '2013-05-11 13:10:12.143856' WHERE "static_docs_pages"."id" = 750201913
|
10812
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10813
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10814
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10815
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1
|
10816
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
10817
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10818
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10819
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10820
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
10821
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10822
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10823
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'path/to/page' LIMIT 1
|
10824
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 573322620]]
|
10825
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10826
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10827
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
10828
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
10829
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10830
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10831
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
10832
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 892078063]]
|
10833
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10835
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'text' LIMIT 1
|
10836
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10837
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10838
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
10839
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 149473849]]
|
10840
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10841
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10842
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10843
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 292621806]]
|
10844
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10845
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10846
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong/page' LIMIT 1[0m
|
10847
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10848
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10849
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
10850
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10851
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10852
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
10853
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10854
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10855
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10856
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10857
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10858
|
+
Connecting to database specified by database.yml
|
10859
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
10860
|
+
Started GET "/" for 127.0.0.1 at 2013-05-11 16:13:32 +0300
|
10861
|
+
Processing by StaticDocs::PagesController#show as HTML
|
10862
|
+
Completed 500 Internal Server Error in 1ms
|
10863
|
+
|
10864
|
+
NoMethodError (undefined method `partition' for nil:NilClass):
|
10865
|
+
/Users/mikdiet/projects/opensource/static_docs/app/models/static_docs/page.rb:7:in `matched'
|
10866
|
+
/Users/mikdiet/projects/opensource/static_docs/app/controllers/static_docs/pages_controller.rb:6:in `show'
|
10867
|
+
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
10868
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
|
10869
|
+
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
10870
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
10871
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__2451919645858105325__process_action__1243706911892004746__callbacks'
|
10872
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10873
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
10874
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10875
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
10876
|
+
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
10877
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
10878
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
|
10879
|
+
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
10880
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
|
10881
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
10882
|
+
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
10883
|
+
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
10884
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
|
10885
|
+
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
|
10886
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
|
10887
|
+
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
10888
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
|
10889
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
10890
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
10891
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
10892
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
10893
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
10894
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
10895
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
10896
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
10897
|
+
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
10898
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
10899
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
10900
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
10901
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
10902
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
10903
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
10904
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
10905
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
10906
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
10907
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
10908
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
10909
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
10910
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
10911
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
10912
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
10913
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
10914
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__1499635002967753842__call__4174236666210020688__callbacks'
|
10915
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10916
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
10917
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10918
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
10919
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
10920
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
10921
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
10922
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
10923
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
10924
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
10925
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
10926
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
10927
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
10928
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
10929
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
10930
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
10931
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
10932
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
10933
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
10934
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
10935
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
10936
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
10937
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:299:in `process'
|
10938
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:33:in `get'
|
10939
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
10940
|
+
/Users/mikdiet/projects/opensource/static_docs/test/integration/navigation_test.rb:7:in `block in <class:NavigationTest>'
|
10941
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:949:in `run'
|
10942
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
|
10943
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
10944
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:447:in `_run__4307901431103404644__setup__4174236666210020688__callbacks'
|
10945
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
10946
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
10947
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
10948
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
10949
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
|
10950
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
|
10951
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
|
10952
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
|
10953
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `each'
|
10954
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
|
10955
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
|
10956
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
|
10957
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
|
10958
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
|
10959
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
|
10960
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
|
10961
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:21:in `run'
|
10962
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
|
10963
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
|
10964
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
|
10965
|
+
|
10966
|
+
|
10967
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
|
10968
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
|
10969
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.5ms)
|
10970
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10971
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10972
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "static_docs_pages"
|
10973
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Main page', 'index', '<h3>This is home page</h3>', 'html', '2013-05-11 13:13:32', '2013-05-11 13:13:32', 892078063)[0m
|
10974
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'page', '<h3>This is first level page</h3>', 'html', '2013-05-11 13:13:32', '2013-05-11 13:13:32', 750201913)
|
10975
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'path/to/page', '<h3>This is third level page</h3>', 'html', '2013-05-11 13:13:32', '2013-05-11 13:13:32', 573322620)[0m
|
10976
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Index Page', 'index', 'namespace', '<h3>This is namespaced index page</h3>', 'html', '2013-05-11 13:13:32', '2013-05-11 13:13:32', 149473849)
|
10977
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'page', 'namespace', '<h3>This is namespaced page</h3>', 'html', '2013-05-11 13:13:32', '2013-05-11 13:13:32', 292621806)[0m
|
10978
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'namespace/page', '<h3>This is not namespaced page</h3>', 'html', '2013-05-11 13:13:32', '2013-05-11 13:13:32', 931033267)
|
10979
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Wrong Namespaced Page', 'page', 'wrong', '<h3>This is wrong namespaced page</h3>', 'html', '2013-05-11 13:13:32', '2013-05-11 13:13:32', 11618465)[0m
|
10980
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Markdown Page', 'markdown', '### This is markdown page', 'md', '2013-05-11 13:13:32', '2013-05-11 13:13:32', 644684649)
|
10981
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Text Page', 'text', 'some text', 'txt', '2013-05-11 13:13:32', '2013-05-11 13:13:32', 326420501)[0m
|
10982
|
+
[1m[35m (0.7ms)[0m commit transaction
|
10983
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10984
|
+
[1m[35mStaticDocs::Page Load (2.5ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))
|
10985
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10986
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 326420501]]
|
10987
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10988
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10989
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 573322620]]
|
10990
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10991
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10992
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 644684649]]
|
10993
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10994
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10995
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 931033267]]
|
10996
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10997
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
10998
|
+
[1m[35mStaticDocs::Page Load (0.0ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
10999
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 573322620]]
|
11000
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
11001
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11002
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11003
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11004
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND (path not in ('page','index'))
|
11005
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
11006
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11007
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'Namespace Main Page', "body" = '<p>Hello from namespace!</p>
|
11008
|
+
', "updated_at" = '2013-05-11 13:13:32.242194' WHERE "static_docs_pages"."id" = 149473849[0m
|
11009
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11010
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
11011
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11012
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'This is Just Namespaced Page', "body" = '<p>Hello, Namespace!</p>
|
11013
|
+
', "updated_at" = '2013-05-11 13:13:32.247738' WHERE "static_docs_pages"."id" = 292621806[0m
|
11014
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11015
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
11016
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
11017
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
11018
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11019
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))[0m
|
11020
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11021
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 326420501]]
|
11022
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11024
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 573322620]]
|
11025
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11026
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11027
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 644684649]]
|
11028
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11029
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11030
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 931033267]]
|
11031
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11032
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
11033
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11034
|
+
[1m[35m (0.2ms)[0m UPDATE "static_docs_pages" SET "title" = 'Main Page', "body" = '<p>Hello from homepage!</p>
|
11035
|
+
', "updated_at" = '2013-05-11 13:13:32.256095' WHERE "static_docs_pages"."id" = 892078063
|
11036
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11037
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1
|
11038
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11039
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "<p>Welcome, Newbie!</p>\n"], ["created_at", Sat, 11 May 2013 13:13:32 UTC +00:00], ["extension", "html"], ["namespace", nil], ["path", "getting-started"], ["title", "Getting Started"], ["updated_at", Sat, 11 May 2013 13:13:32 UTC +00:00]]
|
11040
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11041
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
11042
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11043
|
+
[1m[35m (0.1ms)[0m UPDATE "static_docs_pages" SET "title" = 'This is Just Page', "body" = '<p>Hello, World!</p>
|
11044
|
+
', "updated_at" = '2013-05-11 13:13:32.263079' WHERE "static_docs_pages"."id" = 750201913
|
11045
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11046
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
11047
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
11048
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1
|
11049
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
11050
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11051
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11052
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11053
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
11054
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11055
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11056
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'path/to/page' LIMIT 1
|
11057
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 573322620]]
|
11058
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11059
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11060
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
11061
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
11062
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11064
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
11065
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 892078063]]
|
11066
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11067
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11068
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'text' LIMIT 1
|
11069
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11070
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11071
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
11072
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 149473849]]
|
11073
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11074
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11075
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
11076
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 292621806]]
|
11077
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11078
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11079
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong/page' LIMIT 1[0m
|
11080
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11082
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
11083
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11084
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11085
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
11086
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11087
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11088
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11089
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11090
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11091
|
+
Connecting to database specified by database.yml
|
11092
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
11093
|
+
Started GET "/" for 127.0.0.1 at 2013-05-11 16:13:58 +0300
|
11094
|
+
Processing by StaticDocs::PagesController#show as HTML
|
11095
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1
|
11096
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (2.1ms)
|
11097
|
+
Completed 200 OK in 98ms (Views: 35.2ms | ActiveRecord: 1.7ms)
|
11098
|
+
Started GET "/page" for 127.0.0.1 at 2013-05-11 16:13:59 +0300
|
11099
|
+
Processing by StaticDocs::PagesController#show as HTML
|
11100
|
+
Parameters: {"page_path"=>"page"}
|
11101
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
11102
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
11103
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms)
|
11104
|
+
Started GET "/namespace/page" for 127.0.0.1 at 2013-05-11 16:13:59 +0300
|
11105
|
+
Processing by StaticDocs::PagesController#show as HTML
|
11106
|
+
Parameters: {"page_path"=>"namespace/page"}
|
11107
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
11108
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
11109
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)
|
11110
|
+
Started GET "/markdown" for 127.0.0.1 at 2013-05-11 16:13:59 +0300
|
11111
|
+
Processing by StaticDocs::PagesController#show as HTML
|
11112
|
+
Parameters: {"page_path"=>"markdown"}
|
11113
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1[0m
|
11114
|
+
Rendered /Users/mikdiet/projects/opensource/static_docs/app/views/static_docs/pages/show.html.erb within layouts/application (0.1ms)
|
11115
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms)
|
11116
|
+
Started GET "/wrong" for 127.0.0.1 at 2013-05-11 16:13:59 +0300
|
11117
|
+
Processing by StaticDocs::PagesController#show as HTML
|
11118
|
+
Parameters: {"page_path"=>"wrong"}
|
11119
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1
|
11120
|
+
Completed 404 Not Found in 1ms
|
11121
|
+
|
11122
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
11123
|
+
/Users/mikdiet/projects/opensource/static_docs/app/models/static_docs/page.rb:8:in `matched'
|
11124
|
+
/Users/mikdiet/projects/opensource/static_docs/app/controllers/static_docs/pages_controller.rb:6:in `show'
|
11125
|
+
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
11126
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
|
11127
|
+
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
11128
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
11129
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__802096319218551438__process_action__3360363290998529114__callbacks'
|
11130
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
11131
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
11132
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
11133
|
+
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
11134
|
+
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
11135
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
11136
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
|
11137
|
+
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
11138
|
+
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
|
11139
|
+
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
11140
|
+
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
11141
|
+
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
11142
|
+
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
|
11143
|
+
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
|
11144
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
|
11145
|
+
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
11146
|
+
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
|
11147
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
11148
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
11149
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
11150
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
11151
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
11152
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
11153
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
11154
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
11155
|
+
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
11156
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
11157
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
11158
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
11159
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
11160
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
11161
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
11162
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
11163
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
11164
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
11165
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
11166
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
11167
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
11168
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
11169
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
11170
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
11171
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
11172
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2897513748457042342__call__2575300510438794658__callbacks'
|
11173
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
11174
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
11175
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
11176
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
11177
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
11178
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
11179
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
11180
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
11181
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
11182
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
11183
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
11184
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
11185
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
11186
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
11187
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
11188
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
11189
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
11190
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
11191
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
11192
|
+
rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
|
11193
|
+
rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
|
11194
|
+
rack-test (0.6.2) lib/rack/test.rb:123:in `request'
|
11195
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:299:in `process'
|
11196
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:33:in `get'
|
11197
|
+
actionpack (3.2.13) lib/action_dispatch/testing/integration.rb:333:in `block (2 levels) in <module:Runner>'
|
11198
|
+
/Users/mikdiet/projects/opensource/static_docs/test/integration/navigation_test.rb:25:in `block in <class:NavigationTest>'
|
11199
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:949:in `run'
|
11200
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
|
11201
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:36:in `block in run'
|
11202
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:447:in `_run__2627406916410929379__setup__2575300510438794658__callbacks'
|
11203
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
11204
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
|
11205
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
11206
|
+
activesupport (3.2.13) lib/active_support/testing/setup_and_teardown.rb:35:in `run'
|
11207
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
|
11208
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
|
11209
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
|
11210
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
|
11211
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `each'
|
11212
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
|
11213
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
|
11214
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'
|
11215
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:896:in `block in _run'
|
11216
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `each'
|
11217
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:895:in `_run'
|
11218
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
|
11219
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:21:in `run'
|
11220
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
|
11221
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
|
11222
|
+
/Users/mikdiet/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
|
11223
|
+
|
11224
|
+
|
11225
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
|
11226
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
11227
|
+
Rendered /Users/mikdiet/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.5ms)
|
11228
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11229
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11230
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "static_docs_pages"[0m
|
11231
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Main page', 'index', '<h3>This is home page</h3>', 'html', '2013-05-11 13:13:59', '2013-05-11 13:13:59', 892078063)
|
11232
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'page', '<h3>This is first level page</h3>', 'html', '2013-05-11 13:13:59', '2013-05-11 13:13:59', 750201913)[0m
|
11233
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('First Level Page', 'path/to/page', '<h3>This is third level page</h3>', 'html', '2013-05-11 13:13:59', '2013-05-11 13:13:59', 573322620)
|
11234
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Index Page', 'index', 'namespace', '<h3>This is namespaced index page</h3>', 'html', '2013-05-11 13:13:59', '2013-05-11 13:13:59', 149473849)[0m
|
11235
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'page', 'namespace', '<h3>This is namespaced page</h3>', 'html', '2013-05-11 13:13:59', '2013-05-11 13:13:59', 292621806)
|
11236
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Namespaced Page', 'namespace/page', '<h3>This is not namespaced page</h3>', 'html', '2013-05-11 13:13:59', '2013-05-11 13:13:59', 931033267)[0m
|
11237
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "namespace", "body", "extension", "created_at", "updated_at", "id") VALUES ('Wrong Namespaced Page', 'page', 'wrong', '<h3>This is wrong namespaced page</h3>', 'html', '2013-05-11 13:13:59', '2013-05-11 13:13:59', 11618465)
|
11238
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Markdown Page', 'markdown', '### This is markdown page', 'md', '2013-05-11 13:13:59', '2013-05-11 13:13:59', 644684649)[0m
|
11239
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "static_docs_pages" ("title", "path", "body", "extension", "created_at", "updated_at", "id") VALUES ('Text Page', 'text', 'some text', 'txt', '2013-05-11 13:13:59', '2013-05-11 13:13:59', 326420501)
|
11240
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
11241
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11242
|
+
[1m[36mStaticDocs::Page Load (1.7ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))[0m
|
11243
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11244
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 326420501]]
|
11245
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11246
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11247
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 573322620]]
|
11248
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11249
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11250
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 644684649]]
|
11251
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11252
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11253
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 931033267]]
|
11254
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11255
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
11256
|
+
[1m[36mStaticDocs::Page Load (0.0ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 750201913]]
|
11257
|
+
[1m[35mStaticDocs::Page Load (0.0ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 573322620]]
|
11258
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
11259
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11260
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11261
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11262
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND (path not in ('page','index'))[0m
|
11263
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
11264
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11265
|
+
[1m[35m (0.4ms)[0m UPDATE "static_docs_pages" SET "title" = 'Namespace Main Page', "body" = '<p>Hello from namespace!</p>
|
11266
|
+
', "updated_at" = '2013-05-11 13:13:59.080270' WHERE "static_docs_pages"."id" = 149473849
|
11267
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11268
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
11269
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11270
|
+
[1m[35m (0.4ms)[0m UPDATE "static_docs_pages" SET "title" = 'This is Just Namespaced Page', "body" = '<p>Hello, Namespace!</p>
|
11271
|
+
', "updated_at" = '2013-05-11 13:13:59.086198' WHERE "static_docs_pages"."id" = 292621806
|
11272
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11273
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
11274
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
11275
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
11276
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11277
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND (path not in ('getting-started','page','index'))
|
11278
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11279
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 326420501]]
|
11280
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11281
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11282
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 573322620]]
|
11283
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11284
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11285
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? [["id", 644684649]]
|
11286
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11287
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11288
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ?[0m [["id", 931033267]]
|
11289
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11290
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
11291
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11292
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'Main Page', "body" = '<p>Hello from homepage!</p>
|
11293
|
+
', "updated_at" = '2013-05-11 13:13:59.095154' WHERE "static_docs_pages"."id" = 892078063[0m
|
11294
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11295
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1[0m
|
11296
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11297
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "static_docs_pages" ("body", "created_at", "extension", "namespace", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["body", "<p>Welcome, Newbie!</p>\n"], ["created_at", Sat, 11 May 2013 13:13:59 UTC +00:00], ["extension", "html"], ["namespace", nil], ["path", "getting-started"], ["title", "Getting Started"], ["updated_at", Sat, 11 May 2013 13:13:59 UTC +00:00]]
|
11298
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11299
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
11300
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11301
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_docs_pages" SET "title" = 'This is Just Page', "body" = '<p>Hello, World!</p>
|
11302
|
+
', "updated_at" = '2013-05-11 13:13:59.101409' WHERE "static_docs_pages"."id" = 750201913[0m
|
11303
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11304
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
11305
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
11306
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'getting-started' LIMIT 1[0m
|
11307
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
11308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11309
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11310
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11311
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'markdown' LIMIT 1
|
11312
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11313
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11314
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'path/to/page' LIMIT 1[0m
|
11315
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 573322620]]
|
11316
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11317
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11318
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1[0m
|
11319
|
+
[1m[35mStaticDocs::Page Load (0.0ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 750201913]]
|
11320
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11321
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11322
|
+
[1m[36mStaticDocs::Page Load (0.3ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'index' LIMIT 1[0m
|
11323
|
+
[1m[35mStaticDocs::Page Load (0.1ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1 [["id", 892078063]]
|
11324
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11325
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11326
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'text' LIMIT 1[0m
|
11327
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11328
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11329
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'index' LIMIT 1
|
11330
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 149473849]]
|
11331
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11332
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11333
|
+
[1m[35mStaticDocs::Page Load (0.3ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" = 'namespace' AND "static_docs_pages"."path" = 'page' LIMIT 1
|
11334
|
+
[1m[36mStaticDocs::Page Load (0.1ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."id" = ? LIMIT 1[0m [["id", 292621806]]
|
11335
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11337
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong/page' LIMIT 1
|
11338
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11339
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11340
|
+
[1m[36mStaticDocs::Page Load (0.2ms)[0m [1mSELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'wrong' LIMIT 1[0m
|
11341
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11342
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11343
|
+
[1m[35mStaticDocs::Page Load (0.2ms)[0m SELECT "static_docs_pages".* FROM "static_docs_pages" WHERE "static_docs_pages"."namespace" IS NULL AND "static_docs_pages"."path" = 'page' LIMIT 1
|
11344
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11345
|
+
[1m[35m (0.2ms)[0m begin transaction
|
11346
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11347
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11348
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|