path_rewrite 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +26 -0
  4. data/app/controllers/path_rewrite/path_controller.rb +15 -0
  5. data/app/models/path_rewrite/path_translation.rb +4 -0
  6. data/config/routes.rb +7 -0
  7. data/db/migrate/20150618003028_create_path_rewrite_path_translations.rb +10 -0
  8. data/lib/path_rewrite.rb +6 -0
  9. data/lib/path_rewrite/configuration.rb +27 -0
  10. data/lib/path_rewrite/engine.rb +10 -0
  11. data/lib/path_rewrite/version.rb +3 -0
  12. data/lib/tasks/path_rewrite_tasks.rake +4 -0
  13. data/spec/controllers/path_rewrite/path_controller_spec.rb +30 -0
  14. data/spec/lib/path_rewrite/configuration_spec.rb +33 -0
  15. data/spec/rails_helper.rb +50 -0
  16. data/spec/rcov_exclude_list.rb +4 -0
  17. data/spec/routing/routes_spec.rb +51 -0
  18. data/spec/spec_helper.rb +83 -0
  19. data/spec/test_app/README.rdoc +28 -0
  20. data/spec/test_app/Rakefile +6 -0
  21. data/spec/test_app/app/assets/javascripts/application.js +13 -0
  22. data/spec/test_app/app/assets/stylesheets/application.css +15 -0
  23. data/spec/test_app/app/controllers/application_controller.rb +5 -0
  24. data/spec/test_app/app/helpers/application_helper.rb +2 -0
  25. data/spec/test_app/app/views/layouts/application.html.erb +14 -0
  26. data/spec/test_app/bin/bundle +3 -0
  27. data/spec/test_app/bin/rails +4 -0
  28. data/spec/test_app/bin/rake +4 -0
  29. data/spec/test_app/bin/setup +29 -0
  30. data/spec/test_app/config.ru +4 -0
  31. data/spec/test_app/config/application.rb +32 -0
  32. data/spec/test_app/config/boot.rb +5 -0
  33. data/spec/test_app/config/database.yml +25 -0
  34. data/spec/test_app/config/environment.rb +5 -0
  35. data/spec/test_app/config/environments/development.rb +41 -0
  36. data/spec/test_app/config/environments/production.rb +79 -0
  37. data/spec/test_app/config/environments/test.rb +42 -0
  38. data/spec/test_app/config/initializers/assets.rb +11 -0
  39. data/spec/test_app/config/initializers/backtrace_silencers.rb +7 -0
  40. data/spec/test_app/config/initializers/cookies_serializer.rb +3 -0
  41. data/spec/test_app/config/initializers/filter_parameter_logging.rb +4 -0
  42. data/spec/test_app/config/initializers/inflections.rb +16 -0
  43. data/spec/test_app/config/initializers/mime_types.rb +4 -0
  44. data/spec/test_app/config/initializers/session_store.rb +3 -0
  45. data/spec/test_app/config/initializers/wrap_parameters.rb +14 -0
  46. data/spec/test_app/config/locales/en.yml +23 -0
  47. data/spec/test_app/config/routes.rb +5 -0
  48. data/spec/test_app/config/secrets.yml +22 -0
  49. data/spec/test_app/db/development.sqlite3 +0 -0
  50. data/spec/test_app/db/schema.rb +23 -0
  51. data/spec/test_app/db/test.sqlite3 +0 -0
  52. data/spec/test_app/log/development.log +121 -0
  53. data/spec/test_app/log/test.log +760 -0
  54. data/spec/test_app/public/404.html +67 -0
  55. data/spec/test_app/public/422.html +67 -0
  56. data/spec/test_app/public/500.html +66 -0
  57. data/spec/test_app/public/favicon.ico +0 -0
  58. metadata +231 -0
@@ -0,0 +1,5 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount PathRewrite::Engine, at: '/'
4
+
5
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 2ca538d78ef2f776762de0330e129e40a8e93b1b1d5a8b47936822a411998298bee75a9ab15f3e383d3c81b57edfdf2bd6feb945094be093ec0cb2a1165636d0
15
+
16
+ test:
17
+ secret_key_base: 9629717f2a57f437dd91b328dc8b9384b277192479ae3ed46f7f9c2d2d456cdec0521078f35a69472bed8e576ab1e9fe61934b85427a590dd626014e7ada193e
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,23 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20150618003028) do
15
+
16
+ create_table "path_rewrite_path_translations", force: :cascade do |t|
17
+ t.string "old_path"
18
+ t.string "new_path"
19
+ t.datetime "created_at", null: false
20
+ t.datetime "updated_at", null: false
21
+ end
22
+
23
+ end
Binary file
@@ -0,0 +1,121 @@
1
+  (7.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ Migrating to CreatePathRewritePathTranslations (20150618003028)
6
+  (0.1ms) begin transaction
7
+  (0.5ms) CREATE TABLE "path_rewrite_path_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "old_path" varchar, "new_path" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618003028"]]
9
+  (0.9ms) commit transaction
10
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
+
12
+
13
+ Started GET "/some_path" for 127.0.0.1 at 2015-06-19 12:44:48 -0700
14
+ PathRewrite::PathTranslation Load (0.4ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/some_path"]]
15
+
16
+ ActionController::RoutingError (No route matches [GET] "/some_path"):
17
+ actionpack (4.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
18
+ actionpack (4.2.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19
+ railties (4.2.2) lib/rails/rack/logger.rb:38:in `call_app'
20
+ railties (4.2.2) lib/rails/rack/logger.rb:20:in `block in call'
21
+ activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
22
+ activesupport (4.2.2) lib/active_support/tagged_logging.rb:26:in `tagged'
23
+ activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `tagged'
24
+ railties (4.2.2) lib/rails/rack/logger.rb:20:in `call'
25
+ actionpack (4.2.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
26
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
27
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
28
+ activesupport (4.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
29
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
30
+ actionpack (4.2.2) lib/action_dispatch/middleware/static.rb:113:in `call'
31
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
32
+ railties (4.2.2) lib/rails/engine.rb:518:in `call'
33
+ railties (4.2.2) lib/rails/application.rb:164:in `call'
34
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
35
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
36
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
37
+ /Users/mtucker/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
38
+ /Users/mtucker/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
39
+ /Users/mtucker/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
40
+
41
+
42
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
43
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms)
44
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms)
45
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.7ms)
46
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.4ms)
47
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (95.1ms)
48
+
49
+
50
+ Started GET "/some_path" for 127.0.0.1 at 2015-06-19 12:45:13 -0700
51
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/some_path"]]
52
+
53
+ ActionController::RoutingError (No route matches [GET] "/some_path"):
54
+ actionpack (4.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
55
+ actionpack (4.2.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
56
+ railties (4.2.2) lib/rails/rack/logger.rb:38:in `call_app'
57
+ railties (4.2.2) lib/rails/rack/logger.rb:20:in `block in call'
58
+ activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
59
+ activesupport (4.2.2) lib/active_support/tagged_logging.rb:26:in `tagged'
60
+ activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `tagged'
61
+ railties (4.2.2) lib/rails/rack/logger.rb:20:in `call'
62
+ actionpack (4.2.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
63
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
64
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
65
+ activesupport (4.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
66
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
67
+ actionpack (4.2.2) lib/action_dispatch/middleware/static.rb:113:in `call'
68
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
69
+ railties (4.2.2) lib/rails/engine.rb:518:in `call'
70
+ railties (4.2.2) lib/rails/application.rb:164:in `call'
71
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
72
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
73
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
74
+ /Users/mtucker/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
75
+ /Users/mtucker/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
76
+ /Users/mtucker/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
77
+
78
+
79
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
80
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
81
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms)
82
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms)
83
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
84
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (69.8ms)
85
+
86
+
87
+ Started GET "/some_path" for 127.0.0.1 at 2015-06-19 12:45:15 -0700
88
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/some_path"]]
89
+
90
+ ActionController::RoutingError (No route matches [GET] "/some_path"):
91
+ actionpack (4.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
92
+ actionpack (4.2.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
93
+ railties (4.2.2) lib/rails/rack/logger.rb:38:in `call_app'
94
+ railties (4.2.2) lib/rails/rack/logger.rb:20:in `block in call'
95
+ activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
96
+ activesupport (4.2.2) lib/active_support/tagged_logging.rb:26:in `tagged'
97
+ activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `tagged'
98
+ railties (4.2.2) lib/rails/rack/logger.rb:20:in `call'
99
+ actionpack (4.2.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
100
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
101
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
102
+ activesupport (4.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
103
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
104
+ actionpack (4.2.2) lib/action_dispatch/middleware/static.rb:113:in `call'
105
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
106
+ railties (4.2.2) lib/rails/engine.rb:518:in `call'
107
+ railties (4.2.2) lib/rails/application.rb:164:in `call'
108
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
109
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
110
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
111
+ /Users/mtucker/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
112
+ /Users/mtucker/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
113
+ /Users/mtucker/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
114
+
115
+
116
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
117
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
118
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms)
119
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms)
120
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
121
+ Rendered /Users/mtucker/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (67.6ms)
@@ -0,0 +1,760 @@
1
+  (7.1ms) CREATE TABLE "path_rewrite_path_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "old_path" varchar, "new_path" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
3
+  (0.1ms) select sqlite_version(*)
4
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.1ms) SELECT version FROM "schema_migrations"
6
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150618003028')
7
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14
+  (0.1ms) begin transaction
15
+  (0.1ms) rollback transaction
16
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
+  (0.1ms) begin transaction
18
+  (0.1ms) rollback transaction
19
+  (0.1ms) begin transaction
20
+  (0.0ms) rollback transaction
21
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
+  (0.1ms) begin transaction
23
+  (0.0ms) rollback transaction
24
+  (0.0ms) begin transaction
25
+  (0.0ms) rollback transaction
26
+  (0.0ms) begin transaction
27
+  (0.1ms) rollback transaction
28
+  (0.0ms) begin transaction
29
+  (0.0ms) rollback transaction
30
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
31
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
32
+  (0.1ms) begin transaction
33
+  (0.1ms) rollback transaction
34
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
35
+  (0.1ms) begin transaction
36
+  (0.1ms) rollback transaction
37
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
38
+  (0.2ms) begin transaction
39
+  (0.1ms) rollback transaction
40
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
41
+  (0.2ms) begin transaction
42
+  (0.1ms) rollback transaction
43
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
44
+  (0.2ms) begin transaction
45
+  (0.1ms) SAVEPOINT active_record_1
46
+ SQL (0.9ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 18:09:48.690527"], ["updated_at", "2015-06-19 18:09:48.690527"]]
47
+  (0.1ms) RELEASE SAVEPOINT active_record_1
48
+  (0.8ms) rollback transaction
49
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
50
+  (0.1ms) begin transaction
51
+  (0.1ms) SAVEPOINT active_record_1
52
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 18:09:57.896199"], ["updated_at", "2015-06-19 18:09:57.896199"]]
53
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54
+  (6.4ms) rollback transaction
55
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
56
+  (0.2ms) begin transaction
57
+  (0.1ms) SAVEPOINT active_record_1
58
+ SQL (0.6ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 18:10:47.750517"], ["updated_at", "2015-06-19 18:10:47.750517"]]
59
+  (0.1ms) RELEASE SAVEPOINT active_record_1
60
+  (6.4ms) rollback transaction
61
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
+  (0.2ms) begin transaction
63
+  (0.2ms) SAVEPOINT active_record_1
64
+ SQL (0.5ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 18:12:41.174547"], ["updated_at", "2015-06-19 18:12:41.174547"]]
65
+  (0.1ms) RELEASE SAVEPOINT active_record_1
66
+  (6.4ms) rollback transaction
67
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
68
+  (0.2ms) begin transaction
69
+  (0.1ms) SAVEPOINT active_record_1
70
+ SQL (0.5ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 18:14:54.082087"], ["updated_at", "2015-06-19 18:14:54.082087"]]
71
+  (0.1ms) RELEASE SAVEPOINT active_record_1
72
+  (0.5ms) rollback transaction
73
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
74
+  (0.2ms) begin transaction
75
+  (0.1ms) SAVEPOINT active_record_1
76
+ SQL (0.6ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 18:15:09.273526"], ["updated_at", "2015-06-19 18:15:09.273526"]]
77
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78
+  (0.4ms) rollback transaction
79
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
+  (0.2ms) begin transaction
81
+  (0.1ms) SAVEPOINT active_record_1
82
+ SQL (0.5ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 18:16:00.224664"], ["updated_at", "2015-06-19 18:16:00.224664"]]
83
+  (0.1ms) RELEASE SAVEPOINT active_record_1
84
+  (0.3ms) rollback transaction
85
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
86
+  (0.2ms) begin transaction
87
+  (0.1ms) SAVEPOINT active_record_1
88
+ SQL (1.1ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 18:17:02.233964"], ["updated_at", "2015-06-19 18:17:02.233964"]]
89
+  (0.1ms) RELEASE SAVEPOINT active_record_1
90
+  (6.5ms) rollback transaction
91
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
92
+  (0.2ms) begin transaction
93
+  (0.1ms) SAVEPOINT active_record_1
94
+ SQL (0.5ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 18:18:33.200143"], ["updated_at", "2015-06-19 18:18:33.200143"]]
95
+  (0.1ms) RELEASE SAVEPOINT active_record_1
96
+  (6.5ms) rollback transaction
97
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
98
+  (0.2ms) begin transaction
99
+  (0.1ms) SAVEPOINT active_record_1
100
+ SQL (0.5ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 18:19:32.547292"], ["updated_at", "2015-06-19 18:19:32.547292"]]
101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
102
+  (6.5ms) rollback transaction
103
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
104
+  (0.1ms) begin transaction
105
+  (0.1ms) SAVEPOINT active_record_1
106
+ SQL (1.0ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:49:18.645016"], ["updated_at", "2015-06-19 19:49:18.645016"]]
107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
108
+  (0.4ms) rollback transaction
109
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
110
+  (0.1ms) begin transaction
111
+  (0.1ms) SAVEPOINT active_record_1
112
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:49:51.234455"], ["updated_at", "2015-06-19 19:49:51.234455"]]
113
+  (0.0ms) RELEASE SAVEPOINT active_record_1
114
+  (0.4ms) rollback transaction
115
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
116
+  (0.1ms) begin transaction
117
+  (0.1ms) SAVEPOINT active_record_1
118
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:52:04.820833"], ["updated_at", "2015-06-19 19:52:04.820833"]]
119
+  (0.0ms) RELEASE SAVEPOINT active_record_1
120
+  (6.4ms) rollback transaction
121
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
122
+  (0.1ms) begin transaction
123
+  (0.1ms) SAVEPOINT active_record_1
124
+ SQL (0.5ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:52:32.421800"], ["updated_at", "2015-06-19 19:52:32.421800"]]
125
+  (0.0ms) RELEASE SAVEPOINT active_record_1
126
+ Processing by PathRewrite::PathController#rewrite as HTML
127
+ Parameters: {"path"=>"test"}
128
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
129
+ Redirecting /test to /captured from request http://test.host/?action=rewrite&path=test
130
+ Redirected to http://test.host/captured
131
+ Completed 301 Moved Permanently in 12ms (ActiveRecord: 0.1ms)
132
+  (0.5ms) rollback transaction
133
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
134
+  (0.1ms) begin transaction
135
+  (0.1ms) SAVEPOINT active_record_1
136
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:52:45.492540"], ["updated_at", "2015-06-19 19:52:45.492540"]]
137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
138
+ Processing by PathRewrite::PathController#rewrite as HTML
139
+ Parameters: {"path"=>"test"}
140
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
141
+ Redirecting /test to /captured from request http://test.host/?action=rewrite&path=test
142
+ Redirected to http://test.host/captured
143
+ Completed 301 Moved Permanently in 4ms (ActiveRecord: 0.1ms)
144
+  (6.5ms) rollback transaction
145
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
146
+  (0.2ms) begin transaction
147
+  (0.2ms) SAVEPOINT active_record_1
148
+ SQL (0.5ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:53:23.901657"], ["updated_at", "2015-06-19 19:53:23.901657"]]
149
+  (0.1ms) RELEASE SAVEPOINT active_record_1
150
+ Processing by PathRewrite::PathController#rewrite as HTML
151
+ Parameters: {"path"=>"test"}
152
+ PathRewrite::PathTranslation Load (0.2ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
153
+ Redirecting /test to /captured from request http://test.host/?action=rewrite&path=test
154
+ Redirected to http://test.host/captured
155
+ Completed 301 Moved Permanently in 5809ms (ActiveRecord: 0.2ms)
156
+  (6.5ms) rollback transaction
157
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
158
+  (0.1ms) begin transaction
159
+  (0.1ms) SAVEPOINT active_record_1
160
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:56:11.920725"], ["updated_at", "2015-06-19 19:56:11.920725"]]
161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
162
+ Processing by PathRewrite::PathController#rewrite as HTML
163
+ Parameters: {"path"=>"test"}
164
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
165
+ Redirecting /test to /captured from request http://test.host/test
166
+ Redirected to http://test.host/captured
167
+ Completed 301 Moved Permanently in 4ms (ActiveRecord: 0.1ms)
168
+  (6.4ms) rollback transaction
169
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
170
+  (0.2ms) begin transaction
171
+  (0.1ms) SAVEPOINT active_record_1
172
+ SQL (0.5ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:56:27.482340"], ["updated_at", "2015-06-19 19:56:27.482340"]]
173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
174
+  (6.4ms) rollback transaction
175
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
176
+  (0.2ms) begin transaction
177
+  (0.1ms) SAVEPOINT active_record_1
178
+ SQL (0.5ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:56:38.338555"], ["updated_at", "2015-06-19 19:56:38.338555"]]
179
+  (0.1ms) RELEASE SAVEPOINT active_record_1
180
+ Processing by PathRewrite::PathController#rewrite as HTML
181
+ Parameters: {"path"=>"test"}
182
+ PathRewrite::PathTranslation Load (0.3ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
183
+ Redirecting /test to /captured from request http://test.host/test
184
+ Redirected to http://test.host/captured
185
+ Completed 301 Moved Permanently in 3732ms (ActiveRecord: 0.2ms)
186
+  (6.5ms) rollback transaction
187
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
188
+  (0.1ms) begin transaction
189
+  (0.1ms) SAVEPOINT active_record_1
190
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:57:29.843190"], ["updated_at", "2015-06-19 19:57:29.843190"]]
191
+  (0.0ms) RELEASE SAVEPOINT active_record_1
192
+ Processing by PathRewrite::PathController#rewrite as HTML
193
+ Parameters: {"path"=>"test"}
194
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
195
+ Redirecting /test to /captured from request http://test.host/test
196
+ Redirected to http://test.host/captured
197
+ Completed 301 Moved Permanently in 4ms (ActiveRecord: 0.1ms)
198
+  (0.4ms) rollback transaction
199
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
200
+  (0.1ms) begin transaction
201
+  (0.1ms) SAVEPOINT active_record_1
202
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:57:36.461397"], ["updated_at", "2015-06-19 19:57:36.461397"]]
203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
204
+ Processing by PathRewrite::PathController#rewrite as HTML
205
+ Parameters: {"path"=>"test"}
206
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
207
+ Redirecting /test to /captured from request http://test.host/test
208
+ Redirected to http://test.host/captured
209
+ Completed 301 Moved Permanently in 4ms (ActiveRecord: 0.1ms)
210
+  (6.4ms) rollback transaction
211
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
212
+  (0.1ms) begin transaction
213
+  (0.1ms) SAVEPOINT active_record_1
214
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:57:59.530698"], ["updated_at", "2015-06-19 19:57:59.530698"]]
215
+  (0.0ms) RELEASE SAVEPOINT active_record_1
216
+ Processing by PathRewrite::PathController#rewrite as HTML
217
+ Parameters: {"path"=>"test"}
218
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
219
+ Redirecting /test to /captured from request http://test.host/test
220
+ Redirected to http://test.host/captured
221
+ Completed 301 Moved Permanently in 4ms (ActiveRecord: 0.1ms)
222
+  (6.3ms) rollback transaction
223
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
224
+  (0.1ms) begin transaction
225
+  (0.1ms) SAVEPOINT active_record_1
226
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:58:07.935194"], ["updated_at", "2015-06-19 19:58:07.935194"]]
227
+  (0.0ms) RELEASE SAVEPOINT active_record_1
228
+ Processing by PathRewrite::PathController#rewrite as HTML
229
+ Parameters: {"path"=>"test"}
230
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
231
+ Redirecting /test to /captured from request http://test.host/test
232
+ Redirected to http://test.host/captured
233
+ Completed 301 Moved Permanently in 5ms (ActiveRecord: 0.1ms)
234
+  (6.4ms) rollback transaction
235
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
236
+  (0.1ms) begin transaction
237
+  (0.1ms) SAVEPOINT active_record_1
238
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:58:20.996456"], ["updated_at", "2015-06-19 19:58:20.996456"]]
239
+  (0.0ms) RELEASE SAVEPOINT active_record_1
240
+ Processing by PathRewrite::PathController#rewrite as HTML
241
+ Parameters: {"path"=>"test"}
242
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
243
+ Redirecting /test to /captured from request http://test.host/test
244
+ Redirected to http://test.host/captured
245
+ Completed 301 Moved Permanently in 4ms (ActiveRecord: 0.1ms)
246
+  (6.4ms) rollback transaction
247
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
248
+  (0.1ms) begin transaction
249
+  (0.1ms) SAVEPOINT active_record_1
250
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:58:28.814709"], ["updated_at", "2015-06-19 19:58:28.814709"]]
251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
252
+ Processing by PathRewrite::PathController#rewrite as HTML
253
+ Parameters: {"path"=>"test"}
254
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
255
+ Redirecting /test to /captured from request http://test.host/test
256
+ Redirected to http://test.host/captured
257
+ Completed 301 Moved Permanently in 5ms (ActiveRecord: 0.1ms)
258
+  (6.5ms) rollback transaction
259
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
260
+  (0.1ms) begin transaction
261
+  (0.1ms) SAVEPOINT active_record_1
262
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 19:59:35.434083"], ["updated_at", "2015-06-19 19:59:35.434083"]]
263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
264
+ Processing by PathRewrite::PathController#rewrite as HTML
265
+ Parameters: {"path"=>"test"}
266
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
267
+ Redirecting /test to /captured from request http://test.host/test
268
+ Redirected to http://test.host/captured
269
+ Completed 301 Moved Permanently in 4ms (ActiveRecord: 0.1ms)
270
+  (6.5ms) rollback transaction
271
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
272
+  (0.1ms) begin transaction
273
+  (0.1ms) SAVEPOINT active_record_1
274
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 20:01:54.077015"], ["updated_at", "2015-06-19 20:01:54.077015"]]
275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
276
+ Processing by PathRewrite::PathController#rewrite as HTML
277
+ Parameters: {"path"=>"test"}
278
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
279
+ Redirecting /test to /captured from request http://test.host/test
280
+ Redirected to http://test.host/captured
281
+ Completed 301 Moved Permanently in 4ms (ActiveRecord: 0.1ms)
282
+  (6.4ms) rollback transaction
283
+  (0.1ms) begin transaction
284
+ Processing by PathRewrite::PathController#rewrite as HTML
285
+ Parameters: {"path"=>"non_translated_path"}
286
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
287
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)
288
+  (0.1ms) rollback transaction
289
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
290
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
291
+  (0.1ms) begin transaction
292
+  (0.1ms) SAVEPOINT active_record_1
293
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 20:18:17.428585"], ["updated_at", "2015-06-19 20:18:17.428585"]]
294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
295
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
296
+  (0.5ms) rollback transaction
297
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
298
+  (0.1ms) begin transaction
299
+  (0.1ms) SAVEPOINT active_record_1
300
+ SQL (0.5ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 20:18:34.141351"], ["updated_at", "2015-06-19 20:18:34.141351"]]
301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
302
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
303
+  (0.4ms) rollback transaction
304
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
305
+  (0.1ms) begin transaction
306
+  (0.1ms) SAVEPOINT active_record_1
307
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 20:19:21.293471"], ["updated_at", "2015-06-19 20:19:21.293471"]]
308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
309
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
310
+  (6.4ms) rollback transaction
311
+  (0.1ms) begin transaction
312
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
313
+  (0.0ms) rollback transaction
314
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
315
+  (0.1ms) begin transaction
316
+  (0.1ms) SAVEPOINT active_record_1
317
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 20:19:45.523426"], ["updated_at", "2015-06-19 20:19:45.523426"]]
318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
319
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
320
+  (0.5ms) rollback transaction
321
+  (0.1ms) begin transaction
322
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
323
+  (0.0ms) rollback transaction
324
+  (0.0ms) begin transaction
325
+  (0.0ms) rollback transaction
326
+  (0.1ms) begin transaction
327
+  (0.0ms) rollback transaction
328
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
329
+  (0.1ms) begin transaction
330
+  (0.0ms) SAVEPOINT active_record_1
331
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 20:20:08.139472"], ["updated_at", "2015-06-19 20:20:08.139472"]]
332
+  (0.0ms) RELEASE SAVEPOINT active_record_1
333
+ Processing by PathRewrite::PathController#rewrite as HTML
334
+ Parameters: {"path"=>"test"}
335
+ PathRewrite::PathTranslation Load (0.2ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
336
+ Redirecting /test to /captured from request http://test.host/test
337
+ Redirected to http://test.host/captured
338
+ Completed 301 Moved Permanently in 7ms (ActiveRecord: 0.2ms)
339
+  (0.5ms) rollback transaction
340
+  (0.1ms) begin transaction
341
+ Processing by PathRewrite::PathController#rewrite as HTML
342
+ Parameters: {"path"=>"non_translated_path"}
343
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
344
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
345
+  (0.1ms) rollback transaction
346
+  (0.0ms) begin transaction
347
+  (0.0ms) rollback transaction
348
+  (0.0ms) begin transaction
349
+  (0.0ms) rollback transaction
350
+  (0.0ms) begin transaction
351
+  (0.1ms) rollback transaction
352
+  (0.0ms) begin transaction
353
+  (0.0ms) rollback transaction
354
+  (0.0ms) begin transaction
355
+  (0.0ms) SAVEPOINT active_record_1
356
+ SQL (0.3ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 20:20:08.162178"], ["updated_at", "2015-06-19 20:20:08.162178"]]
357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
358
+ PathRewrite::PathTranslation Load (0.0ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
359
+  (0.4ms) rollback transaction
360
+  (0.0ms) begin transaction
361
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
362
+  (0.0ms) rollback transaction
363
+  (0.0ms) begin transaction
364
+  (0.0ms) rollback transaction
365
+  (0.0ms) begin transaction
366
+  (0.0ms) rollback transaction
367
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
368
+  (0.1ms) begin transaction
369
+  (0.0ms) SAVEPOINT active_record_1
370
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 22:02:08.175070"], ["updated_at", "2015-06-19 22:02:08.175070"]]
371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
372
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
373
+  (0.3ms) rollback transaction
374
+  (0.0ms) begin transaction
375
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
376
+  (0.0ms) rollback transaction
377
+  (0.0ms) begin transaction
378
+  (0.0ms) rollback transaction
379
+  (0.0ms) begin transaction
380
+  (0.0ms) rollback transaction
381
+  (0.0ms) begin transaction
382
+  (0.0ms) SAVEPOINT active_record_1
383
+ SQL (0.3ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 22:02:08.191781"], ["updated_at", "2015-06-19 22:02:08.191781"]]
384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
385
+ Processing by PathRewrite::PathController#rewrite as HTML
386
+ Parameters: {"path"=>"test"}
387
+ PathRewrite::PathTranslation Load (0.0ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
388
+ Redirecting /test to /captured from request http://test.host/test
389
+ Redirected to http://test.host/captured
390
+ Completed 301 Moved Permanently in 1ms (ActiveRecord: 0.0ms)
391
+  (0.4ms) rollback transaction
392
+  (0.0ms) begin transaction
393
+ Processing by PathRewrite::PathController#rewrite as HTML
394
+ Parameters: {"path"=>"non_translated_path"}
395
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
396
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)
397
+  (0.0ms) rollback transaction
398
+  (0.0ms) begin transaction
399
+  (0.0ms) rollback transaction
400
+  (0.1ms) begin transaction
401
+  (0.0ms) rollback transaction
402
+  (0.0ms) begin transaction
403
+  (0.0ms) rollback transaction
404
+  (0.0ms) begin transaction
405
+  (0.1ms) rollback transaction
406
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
407
+  (0.1ms) begin transaction
408
+  (0.1ms) SAVEPOINT active_record_1
409
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 22:02:39.243956"], ["updated_at", "2015-06-19 22:02:39.243956"]]
410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
411
+ PathRewrite::PathTranslation Load (0.2ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
412
+  (0.4ms) rollback transaction
413
+  (0.0ms) begin transaction
414
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
415
+  (0.0ms) rollback transaction
416
+  (0.1ms) begin transaction
417
+  (0.0ms) rollback transaction
418
+  (0.0ms) begin transaction
419
+  (0.0ms) rollback transaction
420
+  (0.0ms) begin transaction
421
+  (0.0ms) SAVEPOINT active_record_1
422
+ SQL (0.3ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 22:02:39.256296"], ["updated_at", "2015-06-19 22:02:39.256296"]]
423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
424
+ Processing by PathRewrite::PathController#rewrite as HTML
425
+ Parameters: {"path"=>"test"}
426
+ PathRewrite::PathTranslation Load (0.0ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
427
+ Redirecting /test to /captured from request http://test.host/test
428
+ Redirected to http://test.host/captured
429
+ Completed 301 Moved Permanently in 1ms (ActiveRecord: 0.0ms)
430
+  (0.4ms) rollback transaction
431
+  (0.0ms) begin transaction
432
+ Processing by PathRewrite::PathController#rewrite as HTML
433
+ Parameters: {"path"=>"non_translated_path"}
434
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
435
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)
436
+  (0.1ms) rollback transaction
437
+  (0.0ms) begin transaction
438
+  (0.0ms) rollback transaction
439
+  (0.0ms) begin transaction
440
+  (0.0ms) rollback transaction
441
+  (0.0ms) begin transaction
442
+  (0.0ms) rollback transaction
443
+  (0.0ms) begin transaction
444
+  (0.0ms) rollback transaction
445
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
446
+  (0.1ms) begin transaction
447
+ Processing by PathRewrite::PathController#rewrite as HTML
448
+ Parameters: {"path"=>"non_translated_path"}
449
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
450
+ Completed 404 Not Found in 7ms (ActiveRecord: 0.2ms)
451
+  (0.1ms) rollback transaction
452
+  (0.0ms) begin transaction
453
+  (0.0ms) SAVEPOINT active_record_1
454
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 22:03:07.845504"], ["updated_at", "2015-06-19 22:03:07.845504"]]
455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
456
+ Processing by PathRewrite::PathController#rewrite as HTML
457
+ Parameters: {"path"=>"test"}
458
+ PathRewrite::PathTranslation Load (0.0ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
459
+ Redirecting /test to /captured from request http://test.host/test
460
+ Redirected to http://test.host/captured
461
+ Completed 301 Moved Permanently in 1ms (ActiveRecord: 0.0ms)
462
+  (6.3ms) rollback transaction
463
+  (0.0ms) begin transaction
464
+  (0.0ms) rollback transaction
465
+  (0.0ms) begin transaction
466
+  (0.0ms) rollback transaction
467
+  (0.0ms) begin transaction
468
+  (0.0ms) rollback transaction
469
+  (0.0ms) begin transaction
470
+  (0.0ms) rollback transaction
471
+  (0.0ms) begin transaction
472
+  (0.0ms) rollback transaction
473
+  (0.0ms) begin transaction
474
+  (0.0ms) rollback transaction
475
+  (0.0ms) begin transaction
476
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
477
+  (0.0ms) rollback transaction
478
+  (0.0ms) begin transaction
479
+  (0.0ms) SAVEPOINT active_record_1
480
+ SQL (0.3ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 22:03:07.861632"], ["updated_at", "2015-06-19 22:03:07.861632"]]
481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
482
+ PathRewrite::PathTranslation Load (0.0ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
483
+  (0.5ms) rollback transaction
484
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
485
+  (0.1ms) begin transaction
486
+  (0.1ms) rollback transaction
487
+  (0.0ms) begin transaction
488
+  (0.0ms) rollback transaction
489
+  (0.0ms) begin transaction
490
+  (0.0ms) rollback transaction
491
+  (0.0ms) begin transaction
492
+  (0.0ms) rollback transaction
493
+  (0.0ms) begin transaction
494
+ Processing by PathRewrite::PathController#rewrite as HTML
495
+ Parameters: {"path"=>"non_translated_path"}
496
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
497
+ Completed 404 Not Found in 8ms (ActiveRecord: 0.3ms)
498
+  (0.1ms) rollback transaction
499
+  (0.0ms) begin transaction
500
+  (0.1ms) SAVEPOINT active_record_1
501
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 22:03:24.515779"], ["updated_at", "2015-06-19 22:03:24.515779"]]
502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
503
+ Processing by PathRewrite::PathController#rewrite as HTML
504
+ Parameters: {"path"=>"test"}
505
+ PathRewrite::PathTranslation Load (0.0ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
506
+ Redirecting /test to /captured from request http://test.host/test
507
+ Redirected to http://test.host/captured
508
+ Completed 301 Moved Permanently in 1ms (ActiveRecord: 0.0ms)
509
+  (0.5ms) rollback transaction
510
+  (0.0ms) begin transaction
511
+  (0.0ms) rollback transaction
512
+  (0.0ms) begin transaction
513
+  (0.0ms) rollback transaction
514
+  (0.0ms) begin transaction
515
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
516
+  (0.0ms) rollback transaction
517
+  (0.0ms) begin transaction
518
+  (0.1ms) SAVEPOINT active_record_1
519
+ SQL (0.2ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 22:03:24.523668"], ["updated_at", "2015-06-19 22:03:24.523668"]]
520
+  (0.0ms) RELEASE SAVEPOINT active_record_1
521
+ PathRewrite::PathTranslation Load (0.0ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
522
+  (0.3ms) rollback transaction
523
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
524
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
525
+  (0.1ms) begin transaction
526
+ Processing by PathRewrite::PathController#rewrite as HTML
527
+ Parameters: {"path"=>"non_translated_path"}
528
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
529
+ Completed 404 Not Found in 7ms (ActiveRecord: 0.2ms)
530
+  (0.1ms) rollback transaction
531
+  (0.0ms) begin transaction
532
+  (0.0ms) SAVEPOINT active_record_1
533
+ SQL (0.3ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 22:07:19.841941"], ["updated_at", "2015-06-19 22:07:19.841941"]]
534
+  (0.0ms) RELEASE SAVEPOINT active_record_1
535
+ Processing by PathRewrite::PathController#rewrite as HTML
536
+ Parameters: {"path"=>"test"}
537
+ PathRewrite::PathTranslation Load (0.0ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
538
+ Redirecting /test to /captured from request http://test.host/test
539
+ Redirected to http://test.host/captured
540
+ Completed 301 Moved Permanently in 1ms (ActiveRecord: 0.0ms)
541
+  (6.4ms) rollback transaction
542
+  (0.1ms) begin transaction
543
+  (0.0ms) rollback transaction
544
+  (0.1ms) begin transaction
545
+  (0.0ms) rollback transaction
546
+  (0.0ms) begin transaction
547
+  (0.0ms) rollback transaction
548
+  (0.0ms) begin transaction
549
+  (0.0ms) rollback transaction
550
+  (0.1ms) begin transaction
551
+  (0.0ms) rollback transaction
552
+  (0.0ms) begin transaction
553
+  (0.0ms) rollback transaction
554
+  (0.0ms) begin transaction
555
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
556
+  (0.0ms) rollback transaction
557
+  (0.0ms) begin transaction
558
+  (0.0ms) SAVEPOINT active_record_1
559
+ SQL (0.3ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 22:07:19.858260"], ["updated_at", "2015-06-19 22:07:19.858260"]]
560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
561
+ PathRewrite::PathTranslation Load (0.0ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
562
+  (0.4ms) rollback transaction
563
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
564
+  (0.1ms) begin transaction
565
+  (0.0ms) SAVEPOINT active_record_1
566
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 22:07:38.851011"], ["updated_at", "2015-06-19 22:07:38.851011"]]
567
+  (0.0ms) RELEASE SAVEPOINT active_record_1
568
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
569
+  (6.4ms) rollback transaction
570
+  (0.1ms) begin transaction
571
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
572
+  (0.1ms) rollback transaction
573
+  (0.0ms) begin transaction
574
+  (0.0ms) rollback transaction
575
+  (0.0ms) begin transaction
576
+  (0.0ms) rollback transaction
577
+  (0.0ms) begin transaction
578
+  (0.0ms) SAVEPOINT active_record_1
579
+ SQL (0.3ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 22:07:38.871201"], ["updated_at", "2015-06-19 22:07:38.871201"]]
580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
581
+ Processing by PathRewrite::PathController#rewrite as HTML
582
+ Parameters: {"path"=>"test"}
583
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
584
+ Redirecting /test to /captured from request http://test.host/test
585
+ Redirected to http://test.host/captured
586
+ Completed 301 Moved Permanently in 1ms (ActiveRecord: 0.1ms)
587
+  (0.5ms) rollback transaction
588
+  (0.0ms) begin transaction
589
+ Processing by PathRewrite::PathController#rewrite as HTML
590
+ Parameters: {"path"=>"non_translated_path"}
591
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
592
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)
593
+  (0.1ms) rollback transaction
594
+  (0.0ms) begin transaction
595
+  (0.0ms) rollback transaction
596
+  (0.0ms) begin transaction
597
+  (0.0ms) rollback transaction
598
+  (0.0ms) begin transaction
599
+  (0.0ms) rollback transaction
600
+  (0.0ms) begin transaction
601
+  (0.0ms) rollback transaction
602
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
603
+  (0.1ms) begin transaction
604
+  (0.0ms) SAVEPOINT active_record_1
605
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 22:08:27.242347"], ["updated_at", "2015-06-19 22:08:27.242347"]]
606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
607
+ Processing by PathRewrite::PathController#rewrite as HTML
608
+ Parameters: {"path"=>"test"}
609
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
610
+ Redirecting /test to /captured from request http://test.host/test
611
+ Redirected to http://test.host/captured
612
+ Completed 301 Moved Permanently in 4ms (ActiveRecord: 0.1ms)
613
+  (6.5ms) rollback transaction
614
+  (0.0ms) begin transaction
615
+ Processing by PathRewrite::PathController#rewrite as HTML
616
+ Parameters: {"path"=>"non_translated_path"}
617
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
618
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
619
+  (0.1ms) rollback transaction
620
+  (0.1ms) begin transaction
621
+  (0.0ms) SAVEPOINT active_record_1
622
+ SQL (0.2ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 22:08:27.263757"], ["updated_at", "2015-06-19 22:08:27.263757"]]
623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
624
+ PathRewrite::PathTranslation Load (0.0ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
625
+  (0.4ms) rollback transaction
626
+  (0.0ms) begin transaction
627
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
628
+  (0.0ms) rollback transaction
629
+  (0.1ms) begin transaction
630
+  (0.0ms) rollback transaction
631
+  (0.0ms) begin transaction
632
+  (0.0ms) rollback transaction
633
+  (0.1ms) begin transaction
634
+  (0.0ms) rollback transaction
635
+  (0.1ms) begin transaction
636
+  (0.0ms) rollback transaction
637
+  (0.0ms) begin transaction
638
+  (0.0ms) rollback transaction
639
+  (0.0ms) begin transaction
640
+  (0.0ms) rollback transaction
641
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
642
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
643
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
644
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
645
+  (0.1ms) begin transaction
646
+  (0.1ms) rollback transaction
647
+  (0.1ms) begin transaction
648
+  (0.1ms) rollback transaction
649
+  (0.1ms) begin transaction
650
+  (0.1ms) rollback transaction
651
+  (0.0ms) begin transaction
652
+  (0.0ms) rollback transaction
653
+  (0.0ms) begin transaction
654
+ Processing by PathRewrite::PathController#rewrite as HTML
655
+ Parameters: {"path"=>"non_translated_path"}
656
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
657
+ Completed 404 Not Found in 7ms (ActiveRecord: 0.3ms)
658
+  (0.1ms) rollback transaction
659
+  (0.0ms) begin transaction
660
+  (0.0ms) SAVEPOINT active_record_1
661
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 22:16:56.855926"], ["updated_at", "2015-06-19 22:16:56.855926"]]
662
+  (0.1ms) RELEASE SAVEPOINT active_record_1
663
+ Processing by PathRewrite::PathController#rewrite as HTML
664
+ Parameters: {"path"=>"test"}
665
+ PathRewrite::PathTranslation Load (0.0ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
666
+ Redirecting /test to /captured from request http://test.host/test
667
+ Redirected to http://test.host/captured
668
+ Completed 301 Moved Permanently in 1ms (ActiveRecord: 0.0ms)
669
+  (6.4ms) rollback transaction
670
+  (0.1ms) begin transaction
671
+  (0.1ms) rollback transaction
672
+  (0.1ms) begin transaction
673
+  (0.1ms) rollback transaction
674
+  (0.1ms) begin transaction
675
+  (0.1ms) SAVEPOINT active_record_1
676
+ SQL (0.3ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 22:16:56.870292"], ["updated_at", "2015-06-19 22:16:56.870292"]]
677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
678
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
679
+  (0.5ms) rollback transaction
680
+  (0.0ms) begin transaction
681
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
682
+  (0.0ms) rollback transaction
683
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
684
+  (0.1ms) begin transaction
685
+  (0.0ms) SAVEPOINT active_record_1
686
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 22:17:37.539068"], ["updated_at", "2015-06-19 22:17:37.539068"]]
687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
688
+ Processing by PathRewrite::PathController#rewrite as HTML
689
+ Parameters: {"path"=>"test"}
690
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
691
+ Redirecting /test to /captured from request http://test.host/test
692
+ Redirected to http://test.host/captured
693
+ Completed 301 Moved Permanently in 4ms (ActiveRecord: 0.1ms)
694
+  (6.4ms) rollback transaction
695
+  (0.0ms) begin transaction
696
+ Processing by PathRewrite::PathController#rewrite as HTML
697
+ Parameters: {"path"=>"non_translated_path"}
698
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
699
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
700
+  (0.1ms) rollback transaction
701
+  (0.0ms) begin transaction
702
+  (0.0ms) rollback transaction
703
+  (0.0ms) begin transaction
704
+  (0.0ms) rollback transaction
705
+  (0.0ms) begin transaction
706
+  (0.0ms) rollback transaction
707
+  (0.0ms) begin transaction
708
+  (0.0ms) rollback transaction
709
+  (0.0ms) begin transaction
710
+  (0.0ms) rollback transaction
711
+  (0.0ms) begin transaction
712
+  (0.0ms) rollback transaction
713
+  (0.0ms) begin transaction
714
+  (0.0ms) SAVEPOINT active_record_1
715
+ SQL (0.3ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 22:17:37.565862"], ["updated_at", "2015-06-19 22:17:37.565862"]]
716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
717
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
718
+  (0.5ms) rollback transaction
719
+  (0.1ms) begin transaction
720
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
721
+  (0.0ms) rollback transaction
722
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
723
+  (0.1ms) begin transaction
724
+  (0.0ms) rollback transaction
725
+  (0.0ms) begin transaction
726
+  (0.0ms) rollback transaction
727
+  (0.0ms) begin transaction
728
+  (0.0ms) rollback transaction
729
+  (0.0ms) begin transaction
730
+  (0.0ms) rollback transaction
731
+  (0.0ms) begin transaction
732
+  (0.0ms) rollback transaction
733
+  (0.0ms) begin transaction
734
+  (0.0ms) rollback transaction
735
+  (0.0ms) begin transaction
736
+  (0.0ms) SAVEPOINT active_record_1
737
+ SQL (0.4ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/redirected"], ["created_at", "2015-06-19 22:27:12.322734"], ["updated_at", "2015-06-19 22:27:12.322734"]]
738
+  (0.0ms) RELEASE SAVEPOINT active_record_1
739
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
740
+  (6.5ms) rollback transaction
741
+  (0.0ms) begin transaction
742
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
743
+  (0.0ms) rollback transaction
744
+  (0.0ms) begin transaction
745
+ Processing by PathRewrite::PathController#rewrite as HTML
746
+ Parameters: {"path"=>"non_translated_path"}
747
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/non_translated_path"]]
748
+ Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
749
+  (0.1ms) rollback transaction
750
+  (0.0ms) begin transaction
751
+  (0.1ms) SAVEPOINT active_record_1
752
+ SQL (0.3ms) INSERT INTO "path_rewrite_path_translations" ("old_path", "new_path", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["old_path", "/test"], ["new_path", "/captured"], ["created_at", "2015-06-19 22:27:12.346799"], ["updated_at", "2015-06-19 22:27:12.346799"]]
753
+  (0.0ms) RELEASE SAVEPOINT active_record_1
754
+ Processing by PathRewrite::PathController#rewrite as HTML
755
+ Parameters: {"path"=>"test"}
756
+ PathRewrite::PathTranslation Load (0.1ms) SELECT "path_rewrite_path_translations".* FROM "path_rewrite_path_translations" WHERE "path_rewrite_path_translations"."old_path" = ? LIMIT 1 [["old_path", "/test"]]
757
+ Redirecting /test to /captured from request http://test.host/test
758
+ Redirected to http://test.host/captured
759
+ Completed 301 Moved Permanently in 1ms (ActiveRecord: 0.1ms)
760
+  (0.4ms) rollback transaction