@blazetrails/actionpack 0.0.0-stage → 0.1.0-alpha0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.rdoc +57 -0
- package/dist/abstract-controller/asset-paths.d.ts +18 -0
- package/dist/abstract-controller/asset-paths.js +8 -0
- package/dist/abstract-controller/asset-paths.js.map +1 -0
- package/dist/abstract-controller/base.d.ts +63 -0
- package/dist/abstract-controller/base.js +237 -0
- package/dist/abstract-controller/base.js.map +1 -0
- package/dist/abstract-controller/caching/fragments.d.ts +39 -0
- package/dist/abstract-controller/caching/fragments.js +120 -0
- package/dist/abstract-controller/caching/fragments.js.map +1 -0
- package/dist/abstract-controller/caching.d.ts +40 -0
- package/dist/abstract-controller/caching.js +57 -0
- package/dist/abstract-controller/caching.js.map +1 -0
- package/dist/abstract-controller/callbacks.d.ts +101 -0
- package/dist/abstract-controller/callbacks.js +184 -0
- package/dist/abstract-controller/callbacks.js.map +1 -0
- package/dist/abstract-controller/collector.d.ts +10 -0
- package/dist/abstract-controller/collector.js +73 -0
- package/dist/abstract-controller/collector.js.map +1 -0
- package/dist/abstract-controller/deprecator.d.ts +3 -0
- package/dist/abstract-controller/deprecator.js +7 -0
- package/dist/abstract-controller/deprecator.js.map +1 -0
- package/dist/abstract-controller/error.d.ts +5 -0
- package/dist/abstract-controller/error.js +5 -0
- package/dist/abstract-controller/error.js.map +1 -0
- package/dist/abstract-controller/helpers.d.ts +67 -0
- package/dist/abstract-controller/helpers.js +182 -0
- package/dist/abstract-controller/helpers.js.map +1 -0
- package/dist/abstract-controller/index.d.ts +16 -0
- package/dist/abstract-controller/index.js +15 -0
- package/dist/abstract-controller/index.js.map +1 -0
- package/dist/abstract-controller/logger.d.ts +7 -0
- package/dist/abstract-controller/logger.js +10 -0
- package/dist/abstract-controller/logger.js.map +1 -0
- package/dist/abstract-controller/rendering.d.ts +54 -0
- package/dist/abstract-controller/rendering.js +119 -0
- package/dist/abstract-controller/rendering.js.map +1 -0
- package/dist/abstract-controller/trailties/routes-helpers.d.ts +34 -0
- package/dist/abstract-controller/trailties/routes-helpers.js +151 -0
- package/dist/abstract-controller/trailties/routes-helpers.js.map +1 -0
- package/dist/abstract-controller/translation.d.ts +29 -0
- package/dist/abstract-controller/translation.js +33 -0
- package/dist/abstract-controller/translation.js.map +1 -0
- package/dist/abstract-controller/url-for.d.ts +24 -0
- package/dist/abstract-controller/url-for.js +34 -0
- package/dist/abstract-controller/url-for.js.map +1 -0
- package/dist/action-controller/api/api-rendering.d.ts +6 -0
- package/dist/action-controller/api/api-rendering.js +16 -0
- package/dist/action-controller/api/api-rendering.js.map +1 -0
- package/dist/action-controller/api.d.ts +66 -0
- package/dist/action-controller/api.js +74 -0
- package/dist/action-controller/api.js.map +1 -0
- package/dist/action-controller/base.d.ts +416 -0
- package/dist/action-controller/base.js +154 -0
- package/dist/action-controller/base.js.map +1 -0
- package/dist/action-controller/caching.d.ts +19 -0
- package/dist/action-controller/caching.js +75 -0
- package/dist/action-controller/caching.js.map +1 -0
- package/dist/action-controller/deprecator.d.ts +4 -0
- package/dist/action-controller/deprecator.js +7 -0
- package/dist/action-controller/deprecator.js.map +1 -0
- package/dist/action-controller/form-builder.d.ts +17 -0
- package/dist/action-controller/form-builder.js +18 -0
- package/dist/action-controller/form-builder.js.map +1 -0
- package/dist/action-controller/index.d.ts +31 -0
- package/dist/action-controller/index.js +28 -0
- package/dist/action-controller/index.js.map +1 -0
- package/dist/action-controller/log-subscriber.d.ts +17 -0
- package/dist/action-controller/log-subscriber.js +113 -0
- package/dist/action-controller/log-subscriber.js.map +1 -0
- package/dist/action-controller/metal/allow-browser.d.ts +71 -0
- package/dist/action-controller/metal/allow-browser.js +129 -0
- package/dist/action-controller/metal/allow-browser.js.map +1 -0
- package/dist/action-controller/metal/basic-implicit-render.d.ts +13 -0
- package/dist/action-controller/metal/basic-implicit-render.js +14 -0
- package/dist/action-controller/metal/basic-implicit-render.js.map +1 -0
- package/dist/action-controller/metal/conditional-get.d.ts +57 -0
- package/dist/action-controller/metal/conditional-get.js +96 -0
- package/dist/action-controller/metal/conditional-get.js.map +1 -0
- package/dist/action-controller/metal/content-security-policy.d.ts +37 -0
- package/dist/action-controller/metal/content-security-policy.js +54 -0
- package/dist/action-controller/metal/content-security-policy.js.map +1 -0
- package/dist/action-controller/metal/cookies.d.ts +15 -0
- package/dist/action-controller/metal/cookies.js +15 -0
- package/dist/action-controller/metal/cookies.js.map +1 -0
- package/dist/action-controller/metal/data-streaming.d.ts +48 -0
- package/dist/action-controller/metal/data-streaming.js +76 -0
- package/dist/action-controller/metal/data-streaming.js.map +1 -0
- package/dist/action-controller/metal/default-headers.d.ts +12 -0
- package/dist/action-controller/metal/default-headers.js +13 -0
- package/dist/action-controller/metal/default-headers.js.map +1 -0
- package/dist/action-controller/metal/etag-with-flash.d.ts +2 -0
- package/dist/action-controller/metal/etag-with-flash.js +17 -0
- package/dist/action-controller/metal/etag-with-flash.js.map +1 -0
- package/dist/action-controller/metal/etag-with-template-digest.d.ts +23 -0
- package/dist/action-controller/metal/etag-with-template-digest.js +41 -0
- package/dist/action-controller/metal/etag-with-template-digest.js.map +1 -0
- package/dist/action-controller/metal/exceptions.d.ts +50 -0
- package/dist/action-controller/metal/exceptions.js +88 -0
- package/dist/action-controller/metal/exceptions.js.map +1 -0
- package/dist/action-controller/metal/flash.d.ts +36 -0
- package/dist/action-controller/metal/flash.js +55 -0
- package/dist/action-controller/metal/flash.js.map +1 -0
- package/dist/action-controller/metal/head.d.ts +18 -0
- package/dist/action-controller/metal/head.js +53 -0
- package/dist/action-controller/metal/head.js.map +1 -0
- package/dist/action-controller/metal/helpers.d.ts +38 -0
- package/dist/action-controller/metal/helpers.js +52 -0
- package/dist/action-controller/metal/helpers.js.map +1 -0
- package/dist/action-controller/metal/http-authentication.d.ts +82 -0
- package/dist/action-controller/metal/http-authentication.js +312 -0
- package/dist/action-controller/metal/http-authentication.js.map +1 -0
- package/dist/action-controller/metal/implicit-render.d.ts +47 -0
- package/dist/action-controller/metal/implicit-render.js +63 -0
- package/dist/action-controller/metal/implicit-render.js.map +1 -0
- package/dist/action-controller/metal/instrumentation.d.ts +39 -0
- package/dist/action-controller/metal/instrumentation.js +113 -0
- package/dist/action-controller/metal/instrumentation.js.map +1 -0
- package/dist/action-controller/metal/live.d.ts +109 -0
- package/dist/action-controller/metal/live.js +314 -0
- package/dist/action-controller/metal/live.js.map +1 -0
- package/dist/action-controller/metal/logging.d.ts +14 -0
- package/dist/action-controller/metal/logging.js +10 -0
- package/dist/action-controller/metal/logging.js.map +1 -0
- package/dist/action-controller/metal/mime-responds.d.ts +54 -0
- package/dist/action-controller/metal/mime-responds.js +149 -0
- package/dist/action-controller/metal/mime-responds.js.map +1 -0
- package/dist/action-controller/metal/parameter-encoding.d.ts +28 -0
- package/dist/action-controller/metal/parameter-encoding.js +51 -0
- package/dist/action-controller/metal/parameter-encoding.js.map +1 -0
- package/dist/action-controller/metal/params-wrapper.d.ts +96 -0
- package/dist/action-controller/metal/params-wrapper.js +223 -0
- package/dist/action-controller/metal/params-wrapper.js.map +1 -0
- package/dist/action-controller/metal/permissions-policy.d.ts +15 -0
- package/dist/action-controller/metal/permissions-policy.js +19 -0
- package/dist/action-controller/metal/permissions-policy.js.map +1 -0
- package/dist/action-controller/metal/rate-limiting.d.ts +48 -0
- package/dist/action-controller/metal/rate-limiting.js +32 -0
- package/dist/action-controller/metal/rate-limiting.js.map +1 -0
- package/dist/action-controller/metal/redirecting.d.ts +76 -0
- package/dist/action-controller/metal/redirecting.js +146 -0
- package/dist/action-controller/metal/redirecting.js.map +1 -0
- package/dist/action-controller/metal/renderers.d.ts +37 -0
- package/dist/action-controller/metal/renderers.js +108 -0
- package/dist/action-controller/metal/renderers.js.map +1 -0
- package/dist/action-controller/metal/rendering.d.ts +79 -0
- package/dist/action-controller/metal/rendering.js +165 -0
- package/dist/action-controller/metal/rendering.js.map +1 -0
- package/dist/action-controller/metal/request-forgery-protection.d.ts +269 -0
- package/dist/action-controller/metal/request-forgery-protection.js +494 -0
- package/dist/action-controller/metal/request-forgery-protection.js.map +1 -0
- package/dist/action-controller/metal/rescue.d.ts +16 -0
- package/dist/action-controller/metal/rescue.js +26 -0
- package/dist/action-controller/metal/rescue.js.map +1 -0
- package/dist/action-controller/metal/streaming.d.ts +14 -0
- package/dist/action-controller/metal/streaming.js +18 -0
- package/dist/action-controller/metal/streaming.js.map +1 -0
- package/dist/action-controller/metal/strong-parameters.d.ts +240 -0
- package/dist/action-controller/metal/strong-parameters.js +742 -0
- package/dist/action-controller/metal/strong-parameters.js.map +1 -0
- package/dist/action-controller/metal/testing.d.ts +11 -0
- package/dist/action-controller/metal/testing.js +20 -0
- package/dist/action-controller/metal/testing.js.map +1 -0
- package/dist/action-controller/metal/url-for.d.ts +12 -0
- package/dist/action-controller/metal/url-for.js +42 -0
- package/dist/action-controller/metal/url-for.js.map +1 -0
- package/dist/action-controller/metal.d.ts +68 -0
- package/dist/action-controller/metal.js +231 -0
- package/dist/action-controller/metal.js.map +1 -0
- package/dist/action-controller/renderer.d.ts +37 -0
- package/dist/action-controller/renderer.js +99 -0
- package/dist/action-controller/renderer.js.map +1 -0
- package/dist/action-controller/template-assertions.d.ts +8 -0
- package/dist/action-controller/template-assertions.js +8 -0
- package/dist/action-controller/template-assertions.js.map +1 -0
- package/dist/action-controller/test-case.d.ts +188 -0
- package/dist/action-controller/test-case.js +526 -0
- package/dist/action-controller/test-case.js.map +1 -0
- package/dist/action-controller/trailties/helpers.d.ts +9 -0
- package/dist/action-controller/trailties/helpers.js +23 -0
- package/dist/action-controller/trailties/helpers.js.map +1 -0
- package/dist/action-dispatch/action-dispatch.d.ts +4 -0
- package/dist/action-dispatch/action-dispatch.js +6 -0
- package/dist/action-dispatch/action-dispatch.js.map +1 -0
- package/dist/action-dispatch/constants.d.ts +12 -0
- package/dist/action-dispatch/constants.js +44 -0
- package/dist/action-dispatch/constants.js.map +1 -0
- package/dist/action-dispatch/deprecator.d.ts +23 -0
- package/dist/action-dispatch/deprecator.js +26 -0
- package/dist/action-dispatch/deprecator.js.map +1 -0
- package/dist/action-dispatch/http/cache.d.ts +73 -0
- package/dist/action-dispatch/http/cache.js +287 -0
- package/dist/action-dispatch/http/cache.js.map +1 -0
- package/dist/action-dispatch/http/content-disposition.d.ts +14 -0
- package/dist/action-dispatch/http/content-disposition.js +39 -0
- package/dist/action-dispatch/http/content-disposition.js.map +1 -0
- package/dist/action-dispatch/http/content-security-policy.d.ts +117 -0
- package/dist/action-dispatch/http/content-security-policy.js +442 -0
- package/dist/action-dispatch/http/content-security-policy.js.map +1 -0
- package/dist/action-dispatch/http/filter-parameters.d.ts +36 -0
- package/dist/action-dispatch/http/filter-parameters.js +69 -0
- package/dist/action-dispatch/http/filter-parameters.js.map +1 -0
- package/dist/action-dispatch/http/filter-redirect.d.ts +20 -0
- package/dist/action-dispatch/http/filter-redirect.js +54 -0
- package/dist/action-dispatch/http/filter-redirect.js.map +1 -0
- package/dist/action-dispatch/http/headers.d.ts +18 -0
- package/dist/action-dispatch/http/headers.js +89 -0
- package/dist/action-dispatch/http/headers.js.map +1 -0
- package/dist/action-dispatch/http/index.d.ts +16 -0
- package/dist/action-dispatch/http/index.js +16 -0
- package/dist/action-dispatch/http/index.js.map +1 -0
- package/dist/action-dispatch/http/mime-negotiation.d.ts +39 -0
- package/dist/action-dispatch/http/mime-negotiation.js +163 -0
- package/dist/action-dispatch/http/mime-negotiation.js.map +1 -0
- package/dist/action-dispatch/http/mime-type.d.ts +130 -0
- package/dist/action-dispatch/http/mime-type.js +425 -0
- package/dist/action-dispatch/http/mime-type.js.map +1 -0
- package/dist/action-dispatch/http/mime-types.d.ts +7 -0
- package/dist/action-dispatch/http/mime-types.js +46 -0
- package/dist/action-dispatch/http/mime-types.js.map +1 -0
- package/dist/action-dispatch/http/param-builder.d.ts +48 -0
- package/dist/action-dispatch/http/param-builder.js +257 -0
- package/dist/action-dispatch/http/param-builder.js.map +1 -0
- package/dist/action-dispatch/http/param-error.d.ts +14 -0
- package/dist/action-dispatch/http/param-error.js +34 -0
- package/dist/action-dispatch/http/param-error.js.map +1 -0
- package/dist/action-dispatch/http/parameters.d.ts +48 -0
- package/dist/action-dispatch/http/parameters.js +139 -0
- package/dist/action-dispatch/http/parameters.js.map +1 -0
- package/dist/action-dispatch/http/permissions-policy.d.ts +58 -0
- package/dist/action-dispatch/http/permissions-policy.js +291 -0
- package/dist/action-dispatch/http/permissions-policy.js.map +1 -0
- package/dist/action-dispatch/http/query-parser.d.ts +9 -0
- package/dist/action-dispatch/http/query-parser.js +64 -0
- package/dist/action-dispatch/http/query-parser.js.map +1 -0
- package/dist/action-dispatch/http/rack-cache.d.ts +39 -0
- package/dist/action-dispatch/http/rack-cache.js +68 -0
- package/dist/action-dispatch/http/rack-cache.js.map +1 -0
- package/dist/action-dispatch/http/request.d.ts +240 -0
- package/dist/action-dispatch/http/request.js +564 -0
- package/dist/action-dispatch/http/request.js.map +1 -0
- package/dist/action-dispatch/http/response.d.ts +229 -0
- package/dist/action-dispatch/http/response.js +691 -0
- package/dist/action-dispatch/http/response.js.map +1 -0
- package/dist/action-dispatch/http/upload.d.ts +28 -0
- package/dist/action-dispatch/http/upload.js +54 -0
- package/dist/action-dispatch/http/upload.js.map +1 -0
- package/dist/action-dispatch/http/url.d.ts +55 -0
- package/dist/action-dispatch/http/url.js +221 -0
- package/dist/action-dispatch/http/url.js.map +1 -0
- package/dist/action-dispatch/index.d.ts +48 -0
- package/dist/action-dispatch/index.js +50 -0
- package/dist/action-dispatch/index.js.map +1 -0
- package/dist/action-dispatch/journey/formatter.d.ts +57 -0
- package/dist/action-dispatch/journey/formatter.js +248 -0
- package/dist/action-dispatch/journey/formatter.js.map +1 -0
- package/dist/action-dispatch/journey/gtg/builder.d.ts +19 -0
- package/dist/action-dispatch/journey/gtg/builder.js +169 -0
- package/dist/action-dispatch/journey/gtg/builder.js.map +1 -0
- package/dist/action-dispatch/journey/gtg/index.d.ts +4 -0
- package/dist/action-dispatch/journey/gtg/index.js +4 -0
- package/dist/action-dispatch/journey/gtg/index.js.map +1 -0
- package/dist/action-dispatch/journey/gtg/simulator.d.ts +17 -0
- package/dist/action-dispatch/journey/gtg/simulator.js +36 -0
- package/dist/action-dispatch/journey/gtg/simulator.js.map +1 -0
- package/dist/action-dispatch/journey/gtg/transition-table.d.ts +38 -0
- package/dist/action-dispatch/journey/gtg/transition-table.js +261 -0
- package/dist/action-dispatch/journey/gtg/transition-table.js.map +1 -0
- package/dist/action-dispatch/journey/index.d.ts +15 -0
- package/dist/action-dispatch/journey/index.js +15 -0
- package/dist/action-dispatch/journey/index.js.map +1 -0
- package/dist/action-dispatch/journey/nfa/dot.d.ts +8 -0
- package/dist/action-dispatch/journey/nfa/dot.js +15 -0
- package/dist/action-dispatch/journey/nfa/dot.js.map +1 -0
- package/dist/action-dispatch/journey/nodes/node.d.ts +99 -0
- package/dist/action-dispatch/journey/nodes/node.js +224 -0
- package/dist/action-dispatch/journey/nodes/node.js.map +1 -0
- package/dist/action-dispatch/journey/parser.d.ts +25 -0
- package/dist/action-dispatch/journey/parser.js +96 -0
- package/dist/action-dispatch/journey/parser.js.map +1 -0
- package/dist/action-dispatch/journey/path/index.d.ts +2 -0
- package/dist/action-dispatch/journey/path/index.js +2 -0
- package/dist/action-dispatch/journey/path/index.js.map +1 -0
- package/dist/action-dispatch/journey/path/pattern.d.ts +66 -0
- package/dist/action-dispatch/journey/path/pattern.js +268 -0
- package/dist/action-dispatch/journey/path/pattern.js.map +1 -0
- package/dist/action-dispatch/journey/route.d.ts +151 -0
- package/dist/action-dispatch/journey/route.js +279 -0
- package/dist/action-dispatch/journey/route.js.map +1 -0
- package/dist/action-dispatch/journey/router/utils.d.ts +29 -0
- package/dist/action-dispatch/journey/router/utils.js +73 -0
- package/dist/action-dispatch/journey/router/utils.js.map +1 -0
- package/dist/action-dispatch/journey/router.d.ts +40 -0
- package/dist/action-dispatch/journey/router.js +146 -0
- package/dist/action-dispatch/journey/router.js.map +1 -0
- package/dist/action-dispatch/journey/routes.d.ts +29 -0
- package/dist/action-dispatch/journey/routes.js +76 -0
- package/dist/action-dispatch/journey/routes.js.map +1 -0
- package/dist/action-dispatch/journey/scanner.d.ts +28 -0
- package/dist/action-dispatch/journey/scanner.js +90 -0
- package/dist/action-dispatch/journey/scanner.js.map +1 -0
- package/dist/action-dispatch/journey/visitors.d.ts +109 -0
- package/dist/action-dispatch/journey/visitors.js +328 -0
- package/dist/action-dispatch/journey/visitors.js.map +1 -0
- package/dist/action-dispatch/journey/visualizer/fsm.css +30 -0
- package/dist/action-dispatch/journey/visualizer/fsm.js +159 -0
- package/dist/action-dispatch/journey/visualizer/index.html.tse +52 -0
- package/dist/action-dispatch/journey/visualizer/index.html.tse.js +61 -0
- package/dist/action-dispatch/journey/visualizer/index.html.tse.js.map +1 -0
- package/dist/action-dispatch/log-subscriber.d.ts +5 -0
- package/dist/action-dispatch/log-subscriber.js +18 -0
- package/dist/action-dispatch/log-subscriber.js.map +1 -0
- package/dist/action-dispatch/middleware/actionable-exceptions.d.ts +14 -0
- package/dist/action-dispatch/middleware/actionable-exceptions.js +57 -0
- package/dist/action-dispatch/middleware/actionable-exceptions.js.map +1 -0
- package/dist/action-dispatch/middleware/assume-ssl.d.ts +9 -0
- package/dist/action-dispatch/middleware/assume-ssl.js +15 -0
- package/dist/action-dispatch/middleware/assume-ssl.js.map +1 -0
- package/dist/action-dispatch/middleware/callbacks.d.ts +15 -0
- package/dist/action-dispatch/middleware/callbacks.js +32 -0
- package/dist/action-dispatch/middleware/callbacks.js.map +1 -0
- package/dist/action-dispatch/middleware/cookies.d.ts +282 -0
- package/dist/action-dispatch/middleware/cookies.js +599 -0
- package/dist/action-dispatch/middleware/cookies.js.map +1 -0
- package/dist/action-dispatch/middleware/debug-exceptions.d.ts +53 -0
- package/dist/action-dispatch/middleware/debug-exceptions.js +223 -0
- package/dist/action-dispatch/middleware/debug-exceptions.js.map +1 -0
- package/dist/action-dispatch/middleware/debug-locks.d.ts +14 -0
- package/dist/action-dispatch/middleware/debug-locks.js +111 -0
- package/dist/action-dispatch/middleware/debug-locks.js.map +1 -0
- package/dist/action-dispatch/middleware/debug-view.d.ts +16 -0
- package/dist/action-dispatch/middleware/debug-view.js +83 -0
- package/dist/action-dispatch/middleware/debug-view.js.map +1 -0
- package/dist/action-dispatch/middleware/exception-wrapper.d.ts +99 -0
- package/dist/action-dispatch/middleware/exception-wrapper.js +328 -0
- package/dist/action-dispatch/middleware/exception-wrapper.js.map +1 -0
- package/dist/action-dispatch/middleware/executor.d.ts +25 -0
- package/dist/action-dispatch/middleware/executor.js +45 -0
- package/dist/action-dispatch/middleware/executor.js.map +1 -0
- package/dist/action-dispatch/middleware/flash.d.ts +93 -0
- package/dist/action-dispatch/middleware/flash.js +221 -0
- package/dist/action-dispatch/middleware/flash.js.map +1 -0
- package/dist/action-dispatch/middleware/host-authorization.d.ts +65 -0
- package/dist/action-dispatch/middleware/host-authorization.js +170 -0
- package/dist/action-dispatch/middleware/host-authorization.js.map +1 -0
- package/dist/action-dispatch/middleware/public-exceptions.d.ts +10 -0
- package/dist/action-dispatch/middleware/public-exceptions.js +73 -0
- package/dist/action-dispatch/middleware/public-exceptions.js.map +1 -0
- package/dist/action-dispatch/middleware/reloader.d.ts +4 -0
- package/dist/action-dispatch/middleware/reloader.js +4 -0
- package/dist/action-dispatch/middleware/reloader.js.map +1 -0
- package/dist/action-dispatch/middleware/remote-ip.d.ts +37 -0
- package/dist/action-dispatch/middleware/remote-ip.js +191 -0
- package/dist/action-dispatch/middleware/remote-ip.js.map +1 -0
- package/dist/action-dispatch/middleware/request-id.d.ts +19 -0
- package/dist/action-dispatch/middleware/request-id.js +31 -0
- package/dist/action-dispatch/middleware/request-id.js.map +1 -0
- package/dist/action-dispatch/middleware/server-timing.d.ts +25 -0
- package/dist/action-dispatch/middleware/server-timing.js +73 -0
- package/dist/action-dispatch/middleware/server-timing.js.map +1 -0
- package/dist/action-dispatch/middleware/session/abstract-store.d.ts +53 -0
- package/dist/action-dispatch/middleware/session/abstract-store.js +124 -0
- package/dist/action-dispatch/middleware/session/abstract-store.js.map +1 -0
- package/dist/action-dispatch/middleware/session/cache-store.d.ts +34 -0
- package/dist/action-dispatch/middleware/session/cache-store.js +83 -0
- package/dist/action-dispatch/middleware/session/cache-store.js.map +1 -0
- package/dist/action-dispatch/middleware/session/cookie-store.d.ts +54 -0
- package/dist/action-dispatch/middleware/session/cookie-store.js +97 -0
- package/dist/action-dispatch/middleware/session/cookie-store.js.map +1 -0
- package/dist/action-dispatch/middleware/session/index.d.ts +5 -0
- package/dist/action-dispatch/middleware/session/index.js +5 -0
- package/dist/action-dispatch/middleware/session/index.js.map +1 -0
- package/dist/action-dispatch/middleware/session/mem-cache-store.d.ts +20 -0
- package/dist/action-dispatch/middleware/session/mem-cache-store.js +23 -0
- package/dist/action-dispatch/middleware/session/mem-cache-store.js.map +1 -0
- package/dist/action-dispatch/middleware/show-exceptions.d.ts +15 -0
- package/dist/action-dispatch/middleware/show-exceptions.js +87 -0
- package/dist/action-dispatch/middleware/show-exceptions.js.map +1 -0
- package/dist/action-dispatch/middleware/ssl.d.ts +54 -0
- package/dist/action-dispatch/middleware/ssl.js +138 -0
- package/dist/action-dispatch/middleware/ssl.js.map +1 -0
- package/dist/action-dispatch/middleware/stack.d.ts +68 -0
- package/dist/action-dispatch/middleware/stack.js +202 -0
- package/dist/action-dispatch/middleware/stack.js.map +1 -0
- package/dist/action-dispatch/middleware/static.d.ts +60 -0
- package/dist/action-dispatch/middleware/static.js +170 -0
- package/dist/action-dispatch/middleware/static.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/_actions.html.tse +13 -0
- package/dist/action-dispatch/middleware/templates/rescues/_actions.html.tse.js +47 -0
- package/dist/action-dispatch/middleware/templates/rescues/_actions.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/_actions.text.tse +0 -0
- package/dist/action-dispatch/middleware/templates/rescues/_actions.text.tse.js +11 -0
- package/dist/action-dispatch/middleware/templates/rescues/_actions.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/_message_and_suggestions.html.tse +23 -0
- package/dist/action-dispatch/middleware/templates/rescues/_message_and_suggestions.html.tse.js +60 -0
- package/dist/action-dispatch/middleware/templates/rescues/_message_and_suggestions.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/_request_and_response.html.tse +17 -0
- package/dist/action-dispatch/middleware/templates/rescues/_request_and_response.html.tse.js +46 -0
- package/dist/action-dispatch/middleware/templates/rescues/_request_and_response.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/_request_and_response.text.tse +19 -0
- package/dist/action-dispatch/middleware/templates/rescues/_request_and_response.text.tse.js +42 -0
- package/dist/action-dispatch/middleware/templates/rescues/_request_and_response.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/_source.html.tse +33 -0
- package/dist/action-dispatch/middleware/templates/rescues/_source.html.tse.js +70 -0
- package/dist/action-dispatch/middleware/templates/rescues/_source.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/_source.text.tse +8 -0
- package/dist/action-dispatch/middleware/templates/rescues/_source.text.tse.js +41 -0
- package/dist/action-dispatch/middleware/templates/rescues/_source.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/_trace.html.tse +62 -0
- package/dist/action-dispatch/middleware/templates/rescues/_trace.html.tse.js +78 -0
- package/dist/action-dispatch/middleware/templates/rescues/_trace.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/_trace.text.tse +9 -0
- package/dist/action-dispatch/middleware/templates/rescues/_trace.text.tse.js +23 -0
- package/dist/action-dispatch/middleware/templates/rescues/_trace.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/blocked_host.html.tse +12 -0
- package/dist/action-dispatch/middleware/templates/rescues/blocked_host.html.tse.js +24 -0
- package/dist/action-dispatch/middleware/templates/rescues/blocked_host.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/blocked_host.text.tse +9 -0
- package/dist/action-dispatch/middleware/templates/rescues/blocked_host.text.tse.js +20 -0
- package/dist/action-dispatch/middleware/templates/rescues/blocked_host.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/diagnostics.html.tse +35 -0
- package/dist/action-dispatch/middleware/templates/rescues/diagnostics.html.tse.js +77 -0
- package/dist/action-dispatch/middleware/templates/rescues/diagnostics.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/diagnostics.text.tse +9 -0
- package/dist/action-dispatch/middleware/templates/rescues/diagnostics.text.tse.js +48 -0
- package/dist/action-dispatch/middleware/templates/rescues/diagnostics.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/invalid_statement.html.tse +24 -0
- package/dist/action-dispatch/middleware/templates/rescues/invalid_statement.html.tse.js +61 -0
- package/dist/action-dispatch/middleware/templates/rescues/invalid_statement.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/invalid_statement.text.tse +16 -0
- package/dist/action-dispatch/middleware/templates/rescues/invalid_statement.text.tse.js +55 -0
- package/dist/action-dispatch/middleware/templates/rescues/invalid_statement.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/layout.tse +284 -0
- package/dist/action-dispatch/middleware/templates/rescues/layout.tse.js +16 -0
- package/dist/action-dispatch/middleware/templates/rescues/layout.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_exact_template.html.tse +23 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_exact_template.html.tse.js +45 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_exact_template.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_exact_template.text.tse +3 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_exact_template.text.tse.js +14 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_exact_template.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_template.html.tse +11 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_template.html.tse.js +41 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_template.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_template.text.tse +3 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_template.text.tse.js +14 -0
- package/dist/action-dispatch/middleware/templates/rescues/missing_template.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/routing_error.html.tse +32 -0
- package/dist/action-dispatch/middleware/templates/rescues/routing_error.html.tse.js +58 -0
- package/dist/action-dispatch/middleware/templates/rescues/routing_error.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/routing_error.text.tse +11 -0
- package/dist/action-dispatch/middleware/templates/rescues/routing_error.text.tse.js +45 -0
- package/dist/action-dispatch/middleware/templates/rescues/routing_error.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/template_error.html.tse +20 -0
- package/dist/action-dispatch/middleware/templates/rescues/template_error.html.tse.js +53 -0
- package/dist/action-dispatch/middleware/templates/rescues/template_error.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/template_error.text.tse +7 -0
- package/dist/action-dispatch/middleware/templates/rescues/template_error.text.tse.js +46 -0
- package/dist/action-dispatch/middleware/templates/rescues/template_error.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/unknown_action.html.tse +6 -0
- package/dist/action-dispatch/middleware/templates/rescues/unknown_action.html.tse.js +35 -0
- package/dist/action-dispatch/middleware/templates/rescues/unknown_action.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/rescues/unknown_action.text.tse +3 -0
- package/dist/action-dispatch/middleware/templates/rescues/unknown_action.text.tse.js +14 -0
- package/dist/action-dispatch/middleware/templates/rescues/unknown_action.text.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/routes/_route.html.tse +19 -0
- package/dist/action-dispatch/middleware/templates/routes/_route.html.tse.js +51 -0
- package/dist/action-dispatch/middleware/templates/routes/_route.html.tse.js.map +1 -0
- package/dist/action-dispatch/middleware/templates/routes/_table.html.tse +232 -0
- package/dist/action-dispatch/middleware/templates/routes/_table.html.tse.js +46 -0
- package/dist/action-dispatch/middleware/templates/routes/_table.html.tse.js.map +1 -0
- package/dist/action-dispatch/request/index.d.ts +3 -0
- package/dist/action-dispatch/request/index.js +3 -0
- package/dist/action-dispatch/request/index.js.map +1 -0
- package/dist/action-dispatch/request/session.d.ts +78 -0
- package/dist/action-dispatch/request/session.js +278 -0
- package/dist/action-dispatch/request/session.js.map +1 -0
- package/dist/action-dispatch/request/utils.d.ts +43 -0
- package/dist/action-dispatch/request/utils.js +170 -0
- package/dist/action-dispatch/request/utils.js.map +1 -0
- package/dist/action-dispatch/routing/dispatcher.d.ts +11 -0
- package/dist/action-dispatch/routing/dispatcher.js +3 -0
- package/dist/action-dispatch/routing/dispatcher.js.map +1 -0
- package/dist/action-dispatch/routing/endpoint.d.ts +11 -0
- package/dist/action-dispatch/routing/endpoint.js +26 -0
- package/dist/action-dispatch/routing/endpoint.js.map +1 -0
- package/dist/action-dispatch/routing/index.d.ts +10 -0
- package/dist/action-dispatch/routing/index.js +9 -0
- package/dist/action-dispatch/routing/index.js.map +1 -0
- package/dist/action-dispatch/routing/inspector.d.ts +114 -0
- package/dist/action-dispatch/routing/inspector.js +294 -0
- package/dist/action-dispatch/routing/inspector.js.map +1 -0
- package/dist/action-dispatch/routing/mapper.d.ts +475 -0
- package/dist/action-dispatch/routing/mapper.js +1670 -0
- package/dist/action-dispatch/routing/mapper.js.map +1 -0
- package/dist/action-dispatch/routing/polymorphic-routes.d.ts +69 -0
- package/dist/action-dispatch/routing/polymorphic-routes.js +240 -0
- package/dist/action-dispatch/routing/polymorphic-routes.js.map +1 -0
- package/dist/action-dispatch/routing/redirection.d.ts +56 -0
- package/dist/action-dispatch/routing/redirection.js +187 -0
- package/dist/action-dispatch/routing/redirection.js.map +1 -0
- package/dist/action-dispatch/routing/route-set.d.ts +276 -0
- package/dist/action-dispatch/routing/route-set.js +1090 -0
- package/dist/action-dispatch/routing/route-set.js.map +1 -0
- package/dist/action-dispatch/routing/routes-proxy.d.ts +49 -0
- package/dist/action-dispatch/routing/routes-proxy.js +90 -0
- package/dist/action-dispatch/routing/routes-proxy.js.map +1 -0
- package/dist/action-dispatch/routing/url-for.d.ts +50 -0
- package/dist/action-dispatch/routing/url-for.js +131 -0
- package/dist/action-dispatch/routing/url-for.js.map +1 -0
- package/dist/action-dispatch/system-test-case.d.ts +58 -0
- package/dist/action-dispatch/system-test-case.js +124 -0
- package/dist/action-dispatch/system-test-case.js.map +1 -0
- package/dist/action-dispatch/system-testing/browser.d.ts +31 -0
- package/dist/action-dispatch/system-testing/browser.js +94 -0
- package/dist/action-dispatch/system-testing/browser.js.map +1 -0
- package/dist/action-dispatch/system-testing/driver.d.ts +45 -0
- package/dist/action-dispatch/system-testing/driver.js +111 -0
- package/dist/action-dispatch/system-testing/driver.js.map +1 -0
- package/dist/action-dispatch/system-testing/server.d.ts +27 -0
- package/dist/action-dispatch/system-testing/server.js +71 -0
- package/dist/action-dispatch/system-testing/server.js.map +1 -0
- package/dist/action-dispatch/system-testing/test-helpers/screenshot-helper.d.ts +70 -0
- package/dist/action-dispatch/system-testing/test-helpers/screenshot-helper.js +144 -0
- package/dist/action-dispatch/system-testing/test-helpers/screenshot-helper.js.map +1 -0
- package/dist/action-dispatch/system-testing/test-helpers/setup-and-teardown.d.ts +15 -0
- package/dist/action-dispatch/system-testing/test-helpers/setup-and-teardown.js +24 -0
- package/dist/action-dispatch/system-testing/test-helpers/setup-and-teardown.js.map +1 -0
- package/dist/action-dispatch/testing/assertion-response.d.ts +7 -0
- package/dist/action-dispatch/testing/assertion-response.js +46 -0
- package/dist/action-dispatch/testing/assertion-response.js.map +1 -0
- package/dist/action-dispatch/testing/assertions/response.d.ts +67 -0
- package/dist/action-dispatch/testing/assertions/response.js +94 -0
- package/dist/action-dispatch/testing/assertions/response.js.map +1 -0
- package/dist/action-dispatch/testing/assertions/routing.d.ts +77 -0
- package/dist/action-dispatch/testing/assertions/routing.js +296 -0
- package/dist/action-dispatch/testing/assertions/routing.js.map +1 -0
- package/dist/action-dispatch/testing/assertions.d.ts +37 -0
- package/dist/action-dispatch/testing/assertions.js +27 -0
- package/dist/action-dispatch/testing/assertions.js.map +1 -0
- package/dist/action-dispatch/testing/index.d.ts +10 -0
- package/dist/action-dispatch/testing/index.js +10 -0
- package/dist/action-dispatch/testing/index.js.map +1 -0
- package/dist/action-dispatch/testing/integration.d.ts +205 -0
- package/dist/action-dispatch/testing/integration.js +574 -0
- package/dist/action-dispatch/testing/integration.js.map +1 -0
- package/dist/action-dispatch/testing/request-encoder.d.ts +29 -0
- package/dist/action-dispatch/testing/request-encoder.js +80 -0
- package/dist/action-dispatch/testing/request-encoder.js.map +1 -0
- package/dist/action-dispatch/testing/test-helpers/page-dump-helper.d.ts +22 -0
- package/dist/action-dispatch/testing/test-helpers/page-dump-helper.js +58 -0
- package/dist/action-dispatch/testing/test-helpers/page-dump-helper.js.map +1 -0
- package/dist/action-dispatch/testing/test-process.d.ts +47 -0
- package/dist/action-dispatch/testing/test-process.js +46 -0
- package/dist/action-dispatch/testing/test-process.js.map +1 -0
- package/dist/action-dispatch/testing/test-request.d.ts +26 -0
- package/dist/action-dispatch/testing/test-request.js +78 -0
- package/dist/action-dispatch/testing/test-request.js.map +1 -0
- package/dist/action-dispatch/testing/test-response.d.ts +16 -0
- package/dist/action-dispatch/testing/test-response.js +29 -0
- package/dist/action-dispatch/testing/test-response.js.map +1 -0
- package/dist/action-pack/gem-version.d.ts +9 -0
- package/dist/action-pack/gem-version.js +15 -0
- package/dist/action-pack/gem-version.js.map +1 -0
- package/dist/action-pack/index.d.ts +3 -0
- package/dist/action-pack/index.js +3 -0
- package/dist/action-pack/index.js.map +1 -0
- package/dist/action-pack/version.d.ts +2 -0
- package/dist/action-pack/version.js +5 -0
- package/dist/action-pack/version.js.map +1 -0
- package/dist/constants.excluded.generated.d.ts +2 -0
- package/dist/constants.excluded.generated.js +57 -0
- package/dist/constants.excluded.generated.js.map +1 -0
- package/dist/constants.generated.d.ts +2 -0
- package/dist/constants.generated.js +489 -0
- package/dist/constants.generated.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/dist/namespaces.d.ts +178 -0
- package/dist/namespaces.js +107 -0
- package/dist/namespaces.js.map +1 -0
- package/dist/system-testing.d.ts +5 -0
- package/dist/system-testing.js +5 -0
- package/dist/system-testing.js.map +1 -0
- package/dist/testing.d.ts +7 -0
- package/dist/testing.js +18 -0
- package/dist/testing.js.map +1 -0
- package/package.json +92 -3
- package/README.md +0 -3
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<meta name="turbo-visit-control" content="reload">
|
|
7
|
+
<title>Action Controller: Exception caught</title>
|
|
8
|
+
<style>
|
|
9
|
+
body {
|
|
10
|
+
background-color: #FAFAFA;
|
|
11
|
+
color: #333;
|
|
12
|
+
color-scheme: light dark;
|
|
13
|
+
supported-color-schemes: light dark;
|
|
14
|
+
margin: 0px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
body, p, ol, ul, td {
|
|
18
|
+
font-family: helvetica, verdana, arial, sans-serif;
|
|
19
|
+
font-size: 13px;
|
|
20
|
+
line-height: 18px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
pre {
|
|
24
|
+
font-size: 11px;
|
|
25
|
+
white-space: pre-wrap;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
pre.box {
|
|
29
|
+
border: 1px solid #EEE;
|
|
30
|
+
padding: 10px;
|
|
31
|
+
margin: 0px;
|
|
32
|
+
width: 958px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
header {
|
|
36
|
+
color: #F0F0F0;
|
|
37
|
+
background: #C00;
|
|
38
|
+
padding: 0.5em 1.5em;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
h1 {
|
|
42
|
+
overflow-wrap: break-word;
|
|
43
|
+
margin: 0.2em 0;
|
|
44
|
+
line-height: 1.1em;
|
|
45
|
+
font-size: 2em;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
h2 {
|
|
49
|
+
color: #C00;
|
|
50
|
+
line-height: 25px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
code.traces {
|
|
54
|
+
font-size: 11px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.response-heading, .request-heading {
|
|
58
|
+
margin-top: 30px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.exception-message {
|
|
62
|
+
padding: 8px 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.exception-message .message {
|
|
66
|
+
margin-bottom: 8px;
|
|
67
|
+
line-height: 25px;
|
|
68
|
+
font-size: 1.5em;
|
|
69
|
+
font-weight: bold;
|
|
70
|
+
color: #C00;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.details {
|
|
74
|
+
border: 1px solid #D0D0D0;
|
|
75
|
+
border-radius: 4px;
|
|
76
|
+
margin: 1em 0px;
|
|
77
|
+
display: block;
|
|
78
|
+
max-width: 978px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.summary {
|
|
82
|
+
padding: 8px 15px;
|
|
83
|
+
border-bottom: 1px solid #D0D0D0;
|
|
84
|
+
display: block;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
a.summary {
|
|
88
|
+
color: #F0F0F0;
|
|
89
|
+
text-decoration: none;
|
|
90
|
+
background: #C52F24;
|
|
91
|
+
border-bottom: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.details pre {
|
|
95
|
+
margin: 5px;
|
|
96
|
+
border: none;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
#container {
|
|
100
|
+
box-sizing: border-box;
|
|
101
|
+
width: 100%;
|
|
102
|
+
padding: 0 1.5em;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.source * {
|
|
106
|
+
margin: 0px;
|
|
107
|
+
padding: 0px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.source {
|
|
111
|
+
border: 1px solid #D9D9D9;
|
|
112
|
+
background: #ECECEC;
|
|
113
|
+
max-width: 978px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.source pre {
|
|
117
|
+
padding: 10px 0px;
|
|
118
|
+
border: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.source .data {
|
|
122
|
+
font-size: 80%;
|
|
123
|
+
overflow: auto;
|
|
124
|
+
background-color: #FFF;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.info {
|
|
128
|
+
padding: 0.5em;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.source .data .line_numbers {
|
|
132
|
+
background-color: #ECECEC;
|
|
133
|
+
color: #555;
|
|
134
|
+
padding: 1em .5em;
|
|
135
|
+
border-right: 1px solid #DDD;
|
|
136
|
+
text-align: right;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.line {
|
|
140
|
+
padding-left: 10px;
|
|
141
|
+
white-space: pre;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.line:hover {
|
|
145
|
+
background-color: #F6F6F6;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.line.active {
|
|
149
|
+
background-color: #FCC;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.error_highlight {
|
|
153
|
+
display: inline-block;
|
|
154
|
+
background-color: #FF9;
|
|
155
|
+
text-decoration: #F00 wavy underline;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.error_highlight_tip {
|
|
159
|
+
color: #666;
|
|
160
|
+
padding: 2px 2px;
|
|
161
|
+
font-size: 10px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.button_to {
|
|
165
|
+
display: inline-block;
|
|
166
|
+
margin-top: 0.75em;
|
|
167
|
+
margin-bottom: 0.75em;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.hidden {
|
|
171
|
+
display: none;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.correction {
|
|
175
|
+
list-style-type: none;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
input[type="submit"] {
|
|
179
|
+
color: white;
|
|
180
|
+
background-color: #C00;
|
|
181
|
+
border: none;
|
|
182
|
+
border-radius: 12px;
|
|
183
|
+
box-shadow: 0 3px #F99;
|
|
184
|
+
font-size: 13px;
|
|
185
|
+
font-weight: bold;
|
|
186
|
+
margin: 0;
|
|
187
|
+
padding: 10px 18px;
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
-webkit-appearance: none;
|
|
190
|
+
}
|
|
191
|
+
input[type="submit"]:focus,
|
|
192
|
+
input[type="submit"]:hover {
|
|
193
|
+
opacity: 0.8;
|
|
194
|
+
}
|
|
195
|
+
input[type="submit"]:active {
|
|
196
|
+
box-shadow: 0 2px #F99;
|
|
197
|
+
transform: translateY(1px)
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
a { color: #980905; }
|
|
201
|
+
a:visited { color: #666; }
|
|
202
|
+
a.trace-frames {
|
|
203
|
+
color: #666;
|
|
204
|
+
overflow-wrap: break-word;
|
|
205
|
+
}
|
|
206
|
+
a:hover, a.trace-frames.selected { color: #C00; }
|
|
207
|
+
a.summary:hover { color: #FFF; }
|
|
208
|
+
|
|
209
|
+
@media (prefers-color-scheme: dark) {
|
|
210
|
+
body {
|
|
211
|
+
background-color: #222;
|
|
212
|
+
color: #ECECEC;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.details, .summary {
|
|
216
|
+
border-color: #666;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.source {
|
|
220
|
+
border-color: #555;
|
|
221
|
+
background-color: #333;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.source .data {
|
|
225
|
+
background: #444;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.source .data .line_numbers {
|
|
229
|
+
background: #333;
|
|
230
|
+
border-color: #222;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.line:hover {
|
|
234
|
+
background: #666;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.line.active {
|
|
238
|
+
background-color: #900;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.error_highlight {
|
|
242
|
+
color: #333;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
input[type="submit"] {
|
|
246
|
+
box-shadow: 0 3px #800;
|
|
247
|
+
}
|
|
248
|
+
input[type="submit"]:active {
|
|
249
|
+
box-shadow: 0 2px #800;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
a { color: #C00; }
|
|
253
|
+
a.trace-frames { color: #999; }
|
|
254
|
+
a:hover, a.trace-frames.selected { color: #E9382B; }
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
<%= yield("style") %>
|
|
258
|
+
</style>
|
|
259
|
+
|
|
260
|
+
<script>
|
|
261
|
+
var toggle = function(id) {
|
|
262
|
+
document.getElementById(id).classList.toggle('hidden');
|
|
263
|
+
return false;
|
|
264
|
+
}
|
|
265
|
+
var show = function(id) {
|
|
266
|
+
document.getElementById(id).style.display = 'block';
|
|
267
|
+
}
|
|
268
|
+
var hide = function(id) {
|
|
269
|
+
document.getElementById(id).style.display = 'none';
|
|
270
|
+
}
|
|
271
|
+
var toggleSessionDump = function() {
|
|
272
|
+
return toggle('session_dump');
|
|
273
|
+
}
|
|
274
|
+
var toggleEnvDump = function() {
|
|
275
|
+
return toggle('env_dump');
|
|
276
|
+
}
|
|
277
|
+
</script>
|
|
278
|
+
</head>
|
|
279
|
+
<body>
|
|
280
|
+
|
|
281
|
+
<%= yield %>
|
|
282
|
+
|
|
283
|
+
</body>
|
|
284
|
+
</html>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export default async function render(context, locals, __block) {
|
|
2
|
+
void context;
|
|
3
|
+
void locals;
|
|
4
|
+
const localAssigns = locals;
|
|
5
|
+
void localAssigns;
|
|
6
|
+
const __view = context;
|
|
7
|
+
context = Object.create(__view, { yield: { value: (...name) => (name.length > 0 ? __block(...name) : __block !== undefined ? __block() : Reflect.get(__view, "yield")) } });
|
|
8
|
+
const _ob = context.outputBuffer;
|
|
9
|
+
_ob.safeAppend("<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <meta name=\"turbo-visit-control\" content=\"reload\">\n <title>Action Controller: Exception caught</title>\n <style>\n body {\n background-color: #FAFAFA;\n color: #333;\n color-scheme: light dark;\n supported-color-schemes: light dark;\n margin: 0px;\n }\n\n body, p, ol, ul, td {\n font-family: helvetica, verdana, arial, sans-serif;\n font-size: 13px;\n line-height: 18px;\n }\n\n pre {\n font-size: 11px;\n white-space: pre-wrap;\n }\n\n pre.box {\n border: 1px solid #EEE;\n padding: 10px;\n margin: 0px;\n width: 958px;\n }\n\n header {\n color: #F0F0F0;\n background: #C00;\n padding: 0.5em 1.5em;\n }\n\n h1 {\n overflow-wrap: break-word;\n margin: 0.2em 0;\n line-height: 1.1em;\n font-size: 2em;\n }\n\n h2 {\n color: #C00;\n line-height: 25px;\n }\n\n code.traces {\n font-size: 11px;\n }\n\n .response-heading, .request-heading {\n margin-top: 30px;\n }\n\n .exception-message {\n padding: 8px 0;\n }\n\n .exception-message .message {\n margin-bottom: 8px;\n line-height: 25px;\n font-size: 1.5em;\n font-weight: bold;\n color: #C00;\n }\n\n .details {\n border: 1px solid #D0D0D0;\n border-radius: 4px;\n margin: 1em 0px;\n display: block;\n max-width: 978px;\n }\n\n .summary {\n padding: 8px 15px;\n border-bottom: 1px solid #D0D0D0;\n display: block;\n }\n\n a.summary {\n color: #F0F0F0;\n text-decoration: none;\n background: #C52F24;\n border-bottom: none;\n }\n\n .details pre {\n margin: 5px;\n border: none;\n }\n\n #container {\n box-sizing: border-box;\n width: 100%;\n padding: 0 1.5em;\n }\n\n .source * {\n margin: 0px;\n padding: 0px;\n }\n\n .source {\n border: 1px solid #D9D9D9;\n background: #ECECEC;\n max-width: 978px;\n }\n\n .source pre {\n padding: 10px 0px;\n border: none;\n }\n\n .source .data {\n font-size: 80%;\n overflow: auto;\n background-color: #FFF;\n }\n\n .info {\n padding: 0.5em;\n }\n\n .source .data .line_numbers {\n background-color: #ECECEC;\n color: #555;\n padding: 1em .5em;\n border-right: 1px solid #DDD;\n text-align: right;\n }\n\n .line {\n padding-left: 10px;\n white-space: pre;\n }\n\n .line:hover {\n background-color: #F6F6F6;\n }\n\n .line.active {\n background-color: #FCC;\n }\n\n .error_highlight {\n display: inline-block;\n background-color: #FF9;\n text-decoration: #F00 wavy underline;\n }\n\n .error_highlight_tip {\n color: #666;\n padding: 2px 2px;\n font-size: 10px;\n }\n\n .button_to {\n display: inline-block;\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n }\n\n .hidden {\n display: none;\n }\n\n .correction {\n list-style-type: none;\n }\n\n input[type=\"submit\"] {\n color: white;\n background-color: #C00;\n border: none;\n border-radius: 12px;\n box-shadow: 0 3px #F99;\n font-size: 13px;\n font-weight: bold;\n margin: 0;\n padding: 10px 18px;\n cursor: pointer;\n -webkit-appearance: none;\n }\n input[type=\"submit\"]:focus,\n input[type=\"submit\"]:hover {\n opacity: 0.8;\n }\n input[type=\"submit\"]:active {\n box-shadow: 0 2px #F99;\n transform: translateY(1px)\n }\n\n a { color: #980905; }\n a:visited { color: #666; }\n a.trace-frames {\n color: #666;\n overflow-wrap: break-word;\n }\n a:hover, a.trace-frames.selected { color: #C00; }\n a.summary:hover { color: #FFF; }\n\n @media (prefers-color-scheme: dark) {\n body {\n background-color: #222;\n color: #ECECEC;\n }\n\n .details, .summary {\n border-color: #666;\n }\n\n .source {\n border-color: #555;\n background-color: #333;\n }\n\n .source .data {\n background: #444;\n }\n\n .source .data .line_numbers {\n background: #333;\n border-color: #222;\n }\n\n .line:hover {\n background: #666;\n }\n\n .line.active {\n background-color: #900;\n }\n\n .error_highlight {\n color: #333;\n }\n\n input[type=\"submit\"] {\n box-shadow: 0 3px #800;\n }\n input[type=\"submit\"]:active {\n box-shadow: 0 2px #800;\n }\n\n a { color: #C00; }\n a.trace-frames { color: #999; }\n a:hover, a.trace-frames.selected { color: #E9382B; }\n }\n\n ");
|
|
10
|
+
_ob.append(await (context.yield("style")));
|
|
11
|
+
_ob.safeAppend("\n </style>\n\n <script>\n var toggle = function(id) {\n document.getElementById(id).classList.toggle('hidden');\n return false;\n }\n var show = function(id) {\n document.getElementById(id).style.display = 'block';\n }\n var hide = function(id) {\n document.getElementById(id).style.display = 'none';\n }\n var toggleSessionDump = function() {\n return toggle('session_dump');\n }\n var toggleEnvDump = function() {\n return toggle('env_dump');\n }\n </script>\n</head>\n<body>\n\n ");
|
|
12
|
+
_ob.append(await (context.yield()));
|
|
13
|
+
_ob.safeAppend("\n\n</body>\n</html>\n");
|
|
14
|
+
return _ob;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=layout.tse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.tse.js","sourceRoot":"","sources":["layout.tse"],"sourcesContent":["<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <meta name=\"turbo-visit-control\" content=\"reload\">\n <title>Action Controller: Exception caught</title>\n <style>\n body {\n background-color: #FAFAFA;\n color: #333;\n color-scheme: light dark;\n supported-color-schemes: light dark;\n margin: 0px;\n }\n\n body, p, ol, ul, td {\n font-family: helvetica, verdana, arial, sans-serif;\n font-size: 13px;\n line-height: 18px;\n }\n\n pre {\n font-size: 11px;\n white-space: pre-wrap;\n }\n\n pre.box {\n border: 1px solid #EEE;\n padding: 10px;\n margin: 0px;\n width: 958px;\n }\n\n header {\n color: #F0F0F0;\n background: #C00;\n padding: 0.5em 1.5em;\n }\n\n h1 {\n overflow-wrap: break-word;\n margin: 0.2em 0;\n line-height: 1.1em;\n font-size: 2em;\n }\n\n h2 {\n color: #C00;\n line-height: 25px;\n }\n\n code.traces {\n font-size: 11px;\n }\n\n .response-heading, .request-heading {\n margin-top: 30px;\n }\n\n .exception-message {\n padding: 8px 0;\n }\n\n .exception-message .message {\n margin-bottom: 8px;\n line-height: 25px;\n font-size: 1.5em;\n font-weight: bold;\n color: #C00;\n }\n\n .details {\n border: 1px solid #D0D0D0;\n border-radius: 4px;\n margin: 1em 0px;\n display: block;\n max-width: 978px;\n }\n\n .summary {\n padding: 8px 15px;\n border-bottom: 1px solid #D0D0D0;\n display: block;\n }\n\n a.summary {\n color: #F0F0F0;\n text-decoration: none;\n background: #C52F24;\n border-bottom: none;\n }\n\n .details pre {\n margin: 5px;\n border: none;\n }\n\n #container {\n box-sizing: border-box;\n width: 100%;\n padding: 0 1.5em;\n }\n\n .source * {\n margin: 0px;\n padding: 0px;\n }\n\n .source {\n border: 1px solid #D9D9D9;\n background: #ECECEC;\n max-width: 978px;\n }\n\n .source pre {\n padding: 10px 0px;\n border: none;\n }\n\n .source .data {\n font-size: 80%;\n overflow: auto;\n background-color: #FFF;\n }\n\n .info {\n padding: 0.5em;\n }\n\n .source .data .line_numbers {\n background-color: #ECECEC;\n color: #555;\n padding: 1em .5em;\n border-right: 1px solid #DDD;\n text-align: right;\n }\n\n .line {\n padding-left: 10px;\n white-space: pre;\n }\n\n .line:hover {\n background-color: #F6F6F6;\n }\n\n .line.active {\n background-color: #FCC;\n }\n\n .error_highlight {\n display: inline-block;\n background-color: #FF9;\n text-decoration: #F00 wavy underline;\n }\n\n .error_highlight_tip {\n color: #666;\n padding: 2px 2px;\n font-size: 10px;\n }\n\n .button_to {\n display: inline-block;\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n }\n\n .hidden {\n display: none;\n }\n\n .correction {\n list-style-type: none;\n }\n\n input[type=\"submit\"] {\n color: white;\n background-color: #C00;\n border: none;\n border-radius: 12px;\n box-shadow: 0 3px #F99;\n font-size: 13px;\n font-weight: bold;\n margin: 0;\n padding: 10px 18px;\n cursor: pointer;\n -webkit-appearance: none;\n }\n input[type=\"submit\"]:focus,\n input[type=\"submit\"]:hover {\n opacity: 0.8;\n }\n input[type=\"submit\"]:active {\n box-shadow: 0 2px #F99;\n transform: translateY(1px)\n }\n\n a { color: #980905; }\n a:visited { color: #666; }\n a.trace-frames {\n color: #666;\n overflow-wrap: break-word;\n }\n a:hover, a.trace-frames.selected { color: #C00; }\n a.summary:hover { color: #FFF; }\n\n @media (prefers-color-scheme: dark) {\n body {\n background-color: #222;\n color: #ECECEC;\n }\n\n .details, .summary {\n border-color: #666;\n }\n\n .source {\n border-color: #555;\n background-color: #333;\n }\n\n .source .data {\n background: #444;\n }\n\n .source .data .line_numbers {\n background: #333;\n border-color: #222;\n }\n\n .line:hover {\n background: #666;\n }\n\n .line.active {\n background-color: #900;\n }\n\n .error_highlight {\n color: #333;\n }\n\n input[type=\"submit\"] {\n box-shadow: 0 3px #800;\n }\n input[type=\"submit\"]:active {\n box-shadow: 0 2px #800;\n }\n\n a { color: #C00; }\n a.trace-frames { color: #999; }\n a:hover, a.trace-frames.selected { color: #E9382B; }\n }\n\n <%= yield(\"style\") %>\n </style>\n\n <script>\n var toggle = function(id) {\n document.getElementById(id).classList.toggle('hidden');\n return false;\n }\n var show = function(id) {\n document.getElementById(id).style.display = 'block';\n }\n var hide = function(id) {\n document.getElementById(id).style.display = 'none';\n }\n var toggleSessionDump = function() {\n return toggle('session_dump');\n }\n var toggleEnvDump = function() {\n return toggle('env_dump');\n }\n </script>\n</head>\n<body>\n\n <%= yield %>\n\n</body>\n</html>\n"],"mappings":";;;;;;;;IAAE,GAAG,CAAC,UAAU,CAAC,k2JAAk2J,CAAC,CAAC;IAgQv2J,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,OAAA,CAAA,KAAA,CAAA,OAAO,CAAC,CAAC,CAAC,CAAC;IAAvB,GAAG,CAAC,UAAU,CAAC,qiBAAqiB,CAAC,CAAC;IAwBljB,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,OAAO,CAAC,KAAH,EAAE,CAAC,CAAC,CAAC;IAAd,GAAG,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<header role="banner">
|
|
2
|
+
<h1>No view template for interactive request</h1>
|
|
3
|
+
</header>
|
|
4
|
+
|
|
5
|
+
<main id="container">
|
|
6
|
+
<h2><%= h(this.exception.message) %></h2>
|
|
7
|
+
|
|
8
|
+
<div class="summary">
|
|
9
|
+
<p>
|
|
10
|
+
<strong>NOTE:</strong> Trails usually expects a controller action to render a view template with the same name.
|
|
11
|
+
</p>
|
|
12
|
+
<p>
|
|
13
|
+
For example, a <code><%= this.exception.controller %>#<%= this.exception.actionName %></code> action defined in <code>app/controllers/<%= this.exception.controller.controllerPath %>_controller.rb</code> should have a corresponding view template
|
|
14
|
+
in a file named <code>app/views/<%= this.exception.controller.controllerPath %>/<%= this.exception.actionName %>.html.erb</code>.
|
|
15
|
+
</p>
|
|
16
|
+
<p>
|
|
17
|
+
However, if this controller is an API endpoint responding with 204 (No Content), which does not require a view template because it doesn't serve an HTML response, then this error will occur when trying to access it with a browser. In this particular scenario, you can ignore this error.
|
|
18
|
+
</p>
|
|
19
|
+
<p>
|
|
20
|
+
You can find more about view template rendering conventions in the <a href="https://guides.rubyonrails.org/layouts_and_rendering.html#rendering-by-default-convention-over-configuration-in-action">Rails Guides on Layouts and Rendering in Rails</a>.
|
|
21
|
+
</p>
|
|
22
|
+
</div>
|
|
23
|
+
</main>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { hashAref as __hashAref, keys as __keys } from "@blazetrails/ruby-compat";
|
|
2
|
+
import { TopLevel } from "@blazetrails/actionview";
|
|
3
|
+
export default async function render(context, locals, __block) {
|
|
4
|
+
void context;
|
|
5
|
+
void locals;
|
|
6
|
+
const localAssigns = locals;
|
|
7
|
+
void localAssigns;
|
|
8
|
+
const __view = context;
|
|
9
|
+
context = Object.create(__view, { yield: { value: (...name) => (name.length > 0 ? __block(...name) : __block !== undefined ? __block() : Reflect.get(__view, "yield")) } });
|
|
10
|
+
const _ob = context.outputBuffer;
|
|
11
|
+
const __own = Object.create(null);
|
|
12
|
+
const __lookup = (name, guarded = false) => { for (const scope of [...[locals, this, TopLevel], __own, globalThis])
|
|
13
|
+
if (scope === localAssigns ? __keys(localAssigns).includes(name) : name in scope) {
|
|
14
|
+
const value = scope === localAssigns ? __hashAref(localAssigns, name) : Reflect.get(scope, name);
|
|
15
|
+
return scope === this && typeof value === "function" ? value.bind(this) : value;
|
|
16
|
+
} if (guarded)
|
|
17
|
+
return undefined; const error = new ReferenceError(name + " is not defined"); Error.captureStackTrace?.(error, __lookup); throw error; };
|
|
18
|
+
const __assign = (name, value) => { for (const scope of [locals, this, TopLevel])
|
|
19
|
+
if (name in scope) {
|
|
20
|
+
Reflect.set(scope, name, value);
|
|
21
|
+
return value;
|
|
22
|
+
} __own[name] = value; return value; };
|
|
23
|
+
void __assign;
|
|
24
|
+
const __sink = new Proxy({}, { set: (_target, name, value) => (__assign(name, value), true) });
|
|
25
|
+
void __sink;
|
|
26
|
+
if (__view.annotateRenderedViewWithFilenames)
|
|
27
|
+
_ob.safeAppend("<!-- BEGIN /home/runner/work/trails/trails/packages/actionpack/dist/action-dispatch/middleware/templates/rescues/missing_exact_template.html.tse -->");
|
|
28
|
+
_ob.safeAppend("<header role=\"banner\">\n <h1>No view template for interactive request</h1>\n</header>\n\n<main id=\"container\">\n <h2>");
|
|
29
|
+
_ob.append(await (__lookup("h")(this.exception.message)));
|
|
30
|
+
_ob.safeAppend("</h2>\n\n <div class=\"summary\">\n <p>\n <strong>NOTE:</strong> Trails usually expects a controller action to render a view template with the same name.\n </p>\n <p>\n For example, a <code>");
|
|
31
|
+
_ob.append(await (this.exception.controller));
|
|
32
|
+
_ob.safeAppend("#");
|
|
33
|
+
_ob.append(await (this.exception.actionName));
|
|
34
|
+
_ob.safeAppend("</code> action defined in <code>app/controllers/");
|
|
35
|
+
_ob.append(await (this.exception.controller.controllerPath));
|
|
36
|
+
_ob.safeAppend("_controller.rb</code> should have a corresponding view template\n in a file named <code>app/views/");
|
|
37
|
+
_ob.append(await (this.exception.controller.controllerPath));
|
|
38
|
+
_ob.safeAppend("/");
|
|
39
|
+
_ob.append(await (this.exception.actionName));
|
|
40
|
+
_ob.safeAppend(".html.erb</code>.\n </p>\n <p>\n However, if this controller is an API endpoint responding with 204 (No Content), which does not require a view template because it doesn't serve an HTML response, then this error will occur when trying to access it with a browser. In this particular scenario, you can ignore this error.\n </p>\n <p>\n You can find more about view template rendering conventions in the <a href=\"https://guides.rubyonrails.org/layouts_and_rendering.html#rendering-by-default-convention-over-configuration-in-action\">Rails Guides on Layouts and Rendering in Rails</a>.\n </p>\n </div>\n</main>\n");
|
|
41
|
+
if (__view.annotateRenderedViewWithFilenames)
|
|
42
|
+
_ob.safeAppend("<!-- END /home/runner/work/trails/trails/packages/actionpack/dist/action-dispatch/middleware/templates/rescues/missing_exact_template.html.tse -->");
|
|
43
|
+
return _ob;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=missing_exact_template.html.tse.js.map
|
package/dist/action-dispatch/middleware/templates/rescues/missing_exact_template.html.tse.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"missing_exact_template.html.tse.js","sourceRoot":"","sources":["missing_exact_template.html.tse"],"sourcesContent":["<header role=\"banner\">\n <h1>No view template for interactive request</h1>\n</header>\n\n<main id=\"container\">\n <h2><%= h(this.exception.message) %></h2>\n\n <div class=\"summary\">\n <p>\n <strong>NOTE:</strong> Trails usually expects a controller action to render a view template with the same name.\n </p>\n <p>\n For example, a <code><%= this.exception.controller %>#<%= this.exception.actionName %></code> action defined in <code>app/controllers/<%= this.exception.controller.controllerPath %>_controller.rb</code> should have a corresponding view template\n in a file named <code>app/views/<%= this.exception.controller.controllerPath %>/<%= this.exception.actionName %>.html.erb</code>.\n </p>\n <p>\n However, if this controller is an API endpoint responding with 204 (No Content), which does not require a view template because it doesn't serve an HTML response, then this error will occur when trying to access it with a browser. In this particular scenario, you can ignore this error.\n </p>\n <p>\n You can find more about view template rendering conventions in the <a href=\"https://guides.rubyonrails.org/layouts_and_rendering.html#rendering-by-default-convention-over-configuration-in-action\">Rails Guides on Layouts and Rendering in Rails</a>.\n </p>\n </div>\n</main>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;IAAE,GAAG,CAAC,UAAU,CAAC,6HAA6H,CAAC,CAAC;IAKtI,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,aAAC,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAApC,GAAG,CAAC,UAAU,CAAC,oNAAoN,CAAC,CAAC;IAOxM,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IAAzD,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IAA0C,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IAA1F,GAAG,CAAC,UAAU,CAAC,kDAAkD,CAAC,CAAC;IAA2E,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;IAAzL,GAAG,CAAC,UAAU,CAAC,yGAAyG,CAAC,CAAC;IAClF,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC;IAAnF,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IAAoE,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IAApH,GAAG,CAAC,UAAU,CAAC,+nBAA+nB,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default async function render(context, locals, __block) {
|
|
2
|
+
void context;
|
|
3
|
+
void locals;
|
|
4
|
+
const localAssigns = locals;
|
|
5
|
+
void localAssigns;
|
|
6
|
+
const __view = context;
|
|
7
|
+
context = Object.create(__view, { yield: { value: (...name) => (name.length > 0 ? __block(...name) : __block !== undefined ? __block() : Reflect.get(__view, "yield")) } });
|
|
8
|
+
const _ob = context.outputBuffer;
|
|
9
|
+
_ob.safeAppend("Missing exact template\n\n");
|
|
10
|
+
_ob.append(await (this.exception.message));
|
|
11
|
+
_ob.safeAppend("\n");
|
|
12
|
+
return _ob;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=missing_exact_template.text.tse.js.map
|
package/dist/action-dispatch/middleware/templates/rescues/missing_exact_template.text.tse.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"missing_exact_template.text.tse.js","sourceRoot":"","sources":["missing_exact_template.text.tse"],"sourcesContent":["Missing exact template\n\n<%= this.exception.message %>\n"],"mappings":";;;;;;;;IAAE,GAAG,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;IAE3C,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;IAA3B,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<header role="banner">
|
|
2
|
+
<h1>Template is missing</h1>
|
|
3
|
+
</header>
|
|
4
|
+
|
|
5
|
+
<main role="main" id="container">
|
|
6
|
+
<h2><%= h(this.exceptionWrapper.message) %></h2>
|
|
7
|
+
|
|
8
|
+
<%= render("rescues/source", { sourceExtracts: this.sourceExtracts, showSourceIdx: this.showSourceIdx }) %>
|
|
9
|
+
<%= render("rescues/trace", { traces: this.traces, traceToShow: this.traceToShow }) %>
|
|
10
|
+
<%= render({ template: "rescues/_request_and_response" }) %>
|
|
11
|
+
</main>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { hashAref as __hashAref, keys as __keys } from "@blazetrails/ruby-compat";
|
|
2
|
+
import { TopLevel } from "@blazetrails/actionview";
|
|
3
|
+
export default async function render(context, locals, __block) {
|
|
4
|
+
void context;
|
|
5
|
+
void locals;
|
|
6
|
+
const localAssigns = locals;
|
|
7
|
+
void localAssigns;
|
|
8
|
+
const __view = context;
|
|
9
|
+
context = Object.create(__view, { yield: { value: (...name) => (name.length > 0 ? __block(...name) : __block !== undefined ? __block() : Reflect.get(__view, "yield")) } });
|
|
10
|
+
const _ob = context.outputBuffer;
|
|
11
|
+
const __own = Object.create(null);
|
|
12
|
+
const __lookup = (name, guarded = false) => { for (const scope of [...[locals, this, TopLevel], __own, globalThis])
|
|
13
|
+
if (scope === localAssigns ? __keys(localAssigns).includes(name) : name in scope) {
|
|
14
|
+
const value = scope === localAssigns ? __hashAref(localAssigns, name) : Reflect.get(scope, name);
|
|
15
|
+
return scope === this && typeof value === "function" ? value.bind(this) : value;
|
|
16
|
+
} if (guarded)
|
|
17
|
+
return undefined; const error = new ReferenceError(name + " is not defined"); Error.captureStackTrace?.(error, __lookup); throw error; };
|
|
18
|
+
const __assign = (name, value) => { for (const scope of [locals, this, TopLevel])
|
|
19
|
+
if (name in scope) {
|
|
20
|
+
Reflect.set(scope, name, value);
|
|
21
|
+
return value;
|
|
22
|
+
} __own[name] = value; return value; };
|
|
23
|
+
void __assign;
|
|
24
|
+
const __sink = new Proxy({}, { set: (_target, name, value) => (__assign(name, value), true) });
|
|
25
|
+
void __sink;
|
|
26
|
+
if (__view.annotateRenderedViewWithFilenames)
|
|
27
|
+
_ob.safeAppend("<!-- BEGIN /home/runner/work/trails/trails/packages/actionpack/dist/action-dispatch/middleware/templates/rescues/missing_template.html.tse -->");
|
|
28
|
+
_ob.safeAppend("<header role=\"banner\">\n <h1>Template is missing</h1>\n</header>\n\n<main role=\"main\" id=\"container\">\n <h2>");
|
|
29
|
+
_ob.append(await (__lookup("h")(this.exceptionWrapper.message)));
|
|
30
|
+
_ob.safeAppend("</h2>\n\n ");
|
|
31
|
+
_ob.append(await (__lookup("render")("rescues/source", { sourceExtracts: this.sourceExtracts, showSourceIdx: this.showSourceIdx })));
|
|
32
|
+
_ob.safeAppend("\n ");
|
|
33
|
+
_ob.append(await (__lookup("render")("rescues/trace", { traces: this.traces, traceToShow: this.traceToShow })));
|
|
34
|
+
_ob.safeAppend("\n ");
|
|
35
|
+
_ob.append(await (__lookup("render")({ template: "rescues/_request_and_response" })));
|
|
36
|
+
_ob.safeAppend("\n</main>\n");
|
|
37
|
+
if (__view.annotateRenderedViewWithFilenames)
|
|
38
|
+
_ob.safeAppend("<!-- END /home/runner/work/trails/trails/packages/actionpack/dist/action-dispatch/middleware/templates/rescues/missing_template.html.tse -->");
|
|
39
|
+
return _ob;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=missing_template.html.tse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"missing_template.html.tse.js","sourceRoot":"","sources":["missing_template.html.tse"],"sourcesContent":["<header role=\"banner\">\n <h1>Template is missing</h1>\n</header>\n\n<main role=\"main\" id=\"container\">\n <h2><%= h(this.exceptionWrapper.message) %></h2>\n\n <%= render(\"rescues/source\", { sourceExtracts: this.sourceExtracts, showSourceIdx: this.showSourceIdx }) %>\n <%= render(\"rescues/trace\", { traces: this.traces, traceToShow: this.traceToShow }) %>\n <%= render({ template: \"rescues/_request_and_response\" }) %>\n</main>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;IAAE,GAAG,CAAC,UAAU,CAAC,sHAAsH,CAAC,CAAC;IAK/H,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,aAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAA3C,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IAE1B,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,kBAAM,CAAC,gBAAgB,EAAE,EAAE,cAAc,EAAE,IAAI,CAAC,cAAc,EAAE,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,CAAC;IAA3G,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACnB,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,kBAAM,CAAC,eAAe,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC;IAAtF,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACnB,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,kBAAM,CAAC,EAAE,QAAQ,EAAE,+BAA+B,EAAE,CAAC,CAAC,CAAC,CAAC;IAA5D,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default async function render(context, locals, __block) {
|
|
2
|
+
void context;
|
|
3
|
+
void locals;
|
|
4
|
+
const localAssigns = locals;
|
|
5
|
+
void localAssigns;
|
|
6
|
+
const __view = context;
|
|
7
|
+
context = Object.create(__view, { yield: { value: (...name) => (name.length > 0 ? __block(...name) : __block !== undefined ? __block() : Reflect.get(__view, "yield")) } });
|
|
8
|
+
const _ob = context.outputBuffer;
|
|
9
|
+
_ob.safeAppend("Template is missing\n\n");
|
|
10
|
+
_ob.append(await (this.exception.message));
|
|
11
|
+
_ob.safeAppend("\n");
|
|
12
|
+
return _ob;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=missing_template.text.tse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"missing_template.text.tse.js","sourceRoot":"","sources":["missing_template.text.tse"],"sourcesContent":["Template is missing\n\n<%= this.exception.message %>\n"],"mappings":";;;;;;;;IAAE,GAAG,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC;IAExC,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;IAA3B,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<header role="banner">
|
|
2
|
+
<h1>Routing Error</h1>
|
|
3
|
+
</header>
|
|
4
|
+
<main role="main" id="container">
|
|
5
|
+
<h2><%= h(this.exceptionWrapper.message) %></h2>
|
|
6
|
+
<% if (this.exceptionWrapper.failures().length > 0) { %>
|
|
7
|
+
<p>
|
|
8
|
+
<h2>Failure reasons:</h2>
|
|
9
|
+
<ol>
|
|
10
|
+
<% for (const [route, reason] of this.exceptionWrapper.failures()) { %>
|
|
11
|
+
<li><code><%= RubyCompat.rbInspect(route).replaceAll('\\', '') %></code> failed because <%= reason.toLowerCase() %></li>
|
|
12
|
+
<% } %>
|
|
13
|
+
</ol>
|
|
14
|
+
</p>
|
|
15
|
+
<% } %>
|
|
16
|
+
|
|
17
|
+
<%= render("rescues/trace", { traces: this.traces, traceToShow: this.traceToShow }) %>
|
|
18
|
+
|
|
19
|
+
<% if (this.routesInspector) { %>
|
|
20
|
+
<h2>
|
|
21
|
+
Routes
|
|
22
|
+
</h2>
|
|
23
|
+
|
|
24
|
+
<p>
|
|
25
|
+
Routes match in priority from top to bottom
|
|
26
|
+
</p>
|
|
27
|
+
|
|
28
|
+
<%= this.routesInspector.format(new ActionDispatch.Routing.HtmlTableFormatter(this)) %>
|
|
29
|
+
<% } %>
|
|
30
|
+
|
|
31
|
+
<%= render({ template: "rescues/_request_and_response" }) %>
|
|
32
|
+
</main>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { hashAref as __hashAref, keys as __keys } from "@blazetrails/ruby-compat";
|
|
2
|
+
import * as RubyCompat from "@blazetrails/ruby-compat";
|
|
3
|
+
import { TopLevel } from "@blazetrails/actionview";
|
|
4
|
+
export default async function render(context, locals, __block) {
|
|
5
|
+
void context;
|
|
6
|
+
void locals;
|
|
7
|
+
const localAssigns = locals;
|
|
8
|
+
void localAssigns;
|
|
9
|
+
const __view = context;
|
|
10
|
+
context = Object.create(__view, { yield: { value: (...name) => (name.length > 0 ? __block(...name) : __block !== undefined ? __block() : Reflect.get(__view, "yield")) } });
|
|
11
|
+
const _ob = context.outputBuffer;
|
|
12
|
+
const __own = Object.create(null);
|
|
13
|
+
const __lookup = (name, guarded = false) => { for (const scope of [...[locals, this, TopLevel], __own, globalThis])
|
|
14
|
+
if (scope === localAssigns ? __keys(localAssigns).includes(name) : name in scope) {
|
|
15
|
+
const value = scope === localAssigns ? __hashAref(localAssigns, name) : Reflect.get(scope, name);
|
|
16
|
+
return scope === this && typeof value === "function" ? value.bind(this) : value;
|
|
17
|
+
} if (guarded)
|
|
18
|
+
return undefined; const error = new ReferenceError(name + " is not defined"); Error.captureStackTrace?.(error, __lookup); throw error; };
|
|
19
|
+
const __assign = (name, value) => { for (const scope of [locals, this, TopLevel])
|
|
20
|
+
if (name in scope) {
|
|
21
|
+
Reflect.set(scope, name, value);
|
|
22
|
+
return value;
|
|
23
|
+
} __own[name] = value; return value; };
|
|
24
|
+
void __assign;
|
|
25
|
+
const __sink = new Proxy({}, { set: (_target, name, value) => (__assign(name, value), true) });
|
|
26
|
+
void __sink;
|
|
27
|
+
if (__view.annotateRenderedViewWithFilenames)
|
|
28
|
+
_ob.safeAppend("<!-- BEGIN /home/runner/work/trails/trails/packages/actionpack/dist/action-dispatch/middleware/templates/rescues/routing_error.html.tse -->");
|
|
29
|
+
_ob.safeAppend("<header role=\"banner\">\n <h1>Routing Error</h1>\n</header>\n<main role=\"main\" id=\"container\">\n <h2>");
|
|
30
|
+
_ob.append(await (__lookup("h")(this.exceptionWrapper.message)));
|
|
31
|
+
_ob.safeAppend("</h2>\n");
|
|
32
|
+
if (this.exceptionWrapper.failures().length > 0) {
|
|
33
|
+
_ob.safeAppend(" <p>\n <h2>Failure reasons:</h2>\n <ol>\n");
|
|
34
|
+
for (const [route, reason] of this.exceptionWrapper.failures()) {
|
|
35
|
+
_ob.safeAppend(" <li><code>");
|
|
36
|
+
_ob.append(await (RubyCompat.rbInspect(route).replaceAll('\\', '')));
|
|
37
|
+
_ob.safeAppend("</code> failed because ");
|
|
38
|
+
_ob.append(await (reason.toLowerCase()));
|
|
39
|
+
_ob.safeAppend("</li>\n");
|
|
40
|
+
}
|
|
41
|
+
_ob.safeAppend(" </ol>\n </p>\n");
|
|
42
|
+
}
|
|
43
|
+
_ob.safeAppend("\n ");
|
|
44
|
+
_ob.append(await (__lookup("render")("rescues/trace", { traces: this.traces, traceToShow: this.traceToShow })));
|
|
45
|
+
_ob.safeAppend("\n\n");
|
|
46
|
+
if (this.routesInspector) {
|
|
47
|
+
_ob.safeAppend(" <h2>\n Routes\n </h2>\n\n <p>\n Routes match in priority from top to bottom\n </p>\n\n ");
|
|
48
|
+
_ob.append(await (this.routesInspector.format(new (__lookup("ActionDispatch").Routing.HtmlTableFormatter)(this))));
|
|
49
|
+
_ob.safeAppend("\n");
|
|
50
|
+
}
|
|
51
|
+
_ob.safeAppend("\n ");
|
|
52
|
+
_ob.append(await (__lookup("render")({ template: "rescues/_request_and_response" })));
|
|
53
|
+
_ob.safeAppend("\n</main>\n");
|
|
54
|
+
if (__view.annotateRenderedViewWithFilenames)
|
|
55
|
+
_ob.safeAppend("<!-- END /home/runner/work/trails/trails/packages/actionpack/dist/action-dispatch/middleware/templates/rescues/routing_error.html.tse -->");
|
|
56
|
+
return _ob;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=routing_error.html.tse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routing_error.html.tse.js","sourceRoot":"","sources":["routing_error.html.tse"],"sourcesContent":["<header role=\"banner\">\n <h1>Routing Error</h1>\n</header>\n<main role=\"main\" id=\"container\">\n <h2><%= h(this.exceptionWrapper.message) %></h2>\n <% if (this.exceptionWrapper.failures().length > 0) { %>\n <p>\n <h2>Failure reasons:</h2>\n <ol>\n <% for (const [route, reason] of this.exceptionWrapper.failures()) { %>\n <li><code><%= RubyCompat.rbInspect(route).replaceAll('\\\\', '') %></code> failed because <%= reason.toLowerCase() %></li>\n <% } %>\n </ol>\n </p>\n <% } %>\n\n <%= render(\"rescues/trace\", { traces: this.traces, traceToShow: this.traceToShow }) %>\n\n <% if (this.routesInspector) { %>\n <h2>\n Routes\n </h2>\n\n <p>\n Routes match in priority from top to bottom\n </p>\n\n <%= this.routesInspector.format(new ActionDispatch.Routing.HtmlTableFormatter(this)) %>\n <% } %>\n\n <%= render({ template: \"rescues/_request_and_response\" }) %>\n</main>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAE,GAAG,CAAC,UAAU,CAAC,8GAA8G,CAAC,CAAC;IAIvH,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,aAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAA3C,GAAG,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACvB,IAAI,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrD,GAAG,CAAC,UAAU,CAAC,wDAAwD,CAAC,CAAC;QAGlE,KAAK,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,EAAE,CAAC;YACxE,GAAG,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;YAAjB,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;YAAvE,GAAG,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC;YAAwD,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;YAAzH,GAAG,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;QACnB,CAAC;QACR,GAAG,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC;IAEvC,CAAC;IACJ,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACnB,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,kBAAM,CAAC,eAAe,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC;IAAtF,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IAEpB,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;QAC9B,GAAG,CAAC,UAAU,CAAC,mHAAmH,CAAC,CAAC;QAQ9H,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,KAAI,0BAAc,CAAC,OAAO,CAAC,kBAAkB,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAAzF,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IACJ,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACnB,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,kBAAM,CAAC,EAAE,QAAQ,EAAE,+BAA+B,EAAE,CAAC,CAAC,CAAC,CAAC;IAA5D,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Routing Error
|
|
2
|
+
|
|
3
|
+
<%= this.exception.message %>
|
|
4
|
+
<% if (this.exception.failures.length > 0) { %>
|
|
5
|
+
Failure reasons:
|
|
6
|
+
<% for (const [route, reason] of this.exception.failures) { %>
|
|
7
|
+
- <%= RubyCompat.rbInspect(route).replaceAll('\\', '') %></code> failed because <%= reason.toLowerCase() %>
|
|
8
|
+
<% } %>
|
|
9
|
+
<% } %>
|
|
10
|
+
|
|
11
|
+
<%= render({ template: "rescues/_trace", format: ":text" }) %>
|