err_merchant 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +7 -2
- data/app/controllers/err_merchant/errors_controller.rb +21 -0
- data/app/views/err_merchant/errors/template.html.erb +4 -0
- data/config/locales/en.yml +11 -0
- data/lib/err_merchant/version.rb +1 -1
- data/spec/err_merchant_spec.rb +13 -2
- data/spec/internal/app/views/layouts/erroneous.html.erb +1 -0
- data/spec/internal/config/initializers/local_request_override.rb +5 -0
- data/spec/internal/log/test.log +822 -0
- data/spec/internal/public/500.html +26 -0
- metadata +22 -13
data/README.rdoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
This is a very simple Rails Engine for replacing the standard (ugly) Rails exception pages, with pages which are rendered in your layout. There are several gems out there that do the same, but this one takes the approach proposed by AccUser[http://accuser.cc/posts/1-rails-3-0-exception-handling]. I just made a gem out of it because I use it in every project.
|
3
3
|
|
4
4
|
== Installation
|
5
|
-
Add the gem to your Gemfile, run
|
5
|
+
Add the gem to your Gemfile, run `bundle install` and restart your server:
|
6
6
|
|
7
7
|
gem 'err_merchant'
|
8
8
|
|
@@ -22,9 +22,14 @@ You can translate the error messages, by default they are the same as the standa
|
|
22
22
|
title: "We're sorry, but something went wrong."
|
23
23
|
description: "We've been notified about this issue and we'll take a look at it shortly."
|
24
24
|
|
25
|
-
Please note that there are
|
25
|
+
Please note that there are translations missing in development mode if you don't supply translations for your locale. In production however, +config.i18n.fallbacks+ is usually set to +true+, so the english error message will be shown if the lookup is unsuccessful.
|
26
26
|
|
27
27
|
== Changelog
|
28
|
+
=== 0.1.1
|
29
|
+
* fix gemspec
|
30
|
+
* add test for fallback to standard rails error pages
|
31
|
+
* fix issue with CanCan
|
32
|
+
|
28
33
|
=== 0.1.0
|
29
34
|
* Initial release
|
30
35
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
class ErrMerchant::ErrorsController < ApplicationController
|
2
|
+
skip_authorization_check if defined?(::CanCan)
|
3
|
+
|
4
|
+
ERRORS = {
|
5
|
+
:internal_server_error => 500,
|
6
|
+
:not_found => 404,
|
7
|
+
:conflict => 409,
|
8
|
+
:unprocessable_entity => 422,
|
9
|
+
:method_not_allowed => 405,
|
10
|
+
:not_implemented => 501
|
11
|
+
}.freeze
|
12
|
+
|
13
|
+
ERRORS.each do |e, status_code|
|
14
|
+
define_method e do
|
15
|
+
respond_to do |format|
|
16
|
+
format.html { render 'template', :locals => {:status_code => status_code}, :status => e }
|
17
|
+
format.any { head e }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
en:
|
2
|
+
err_merchant:
|
3
|
+
'404':
|
4
|
+
title: "The page you were looking for doesn't exist."
|
5
|
+
description: "You may have mistyped the address or the page may have moved."
|
6
|
+
'422':
|
7
|
+
title: "The change you wanted was rejected."
|
8
|
+
description: "Maybe you tried to change something you didn't have access to."
|
9
|
+
'500':
|
10
|
+
title: "We're sorry, but something went wrong."
|
11
|
+
description: "We've been notified about this issue and we'll take a look at it shortly."
|
data/lib/err_merchant/version.rb
CHANGED
data/spec/err_merchant_spec.rb
CHANGED
@@ -7,10 +7,10 @@ describe 'ErrMerchant' do
|
|
7
7
|
page.should have_content("We're sorry, but something went wrong.")
|
8
8
|
page.status_code.should == 500
|
9
9
|
end
|
10
|
-
|
10
|
+
|
11
11
|
it 'shows a 404 when record not found' do
|
12
12
|
visit '/failures/where_is_it'
|
13
|
-
|
13
|
+
|
14
14
|
page.should have_content("The page you were looking for doesn't exist.")
|
15
15
|
page.status_code.should == 404
|
16
16
|
end
|
@@ -42,4 +42,15 @@ describe 'ErrMerchant' do
|
|
42
42
|
page.should have_content("We're sorry, but something went wrong.")
|
43
43
|
end
|
44
44
|
|
45
|
+
it 'falls back to standard error pages if everything goes wrong' do
|
46
|
+
ErrMerchant::ErrorsController.class_eval do
|
47
|
+
layout "erroneous"
|
48
|
+
end
|
49
|
+
|
50
|
+
visit '/failures/wild_error'
|
51
|
+
page.should have_content("We're sorry, but something went wrong.")
|
52
|
+
page.status_code.should == 500
|
53
|
+
page.should have_css('div.dialog h1')
|
54
|
+
end
|
55
|
+
|
45
56
|
end
|
@@ -0,0 +1 @@
|
|
1
|
+
<% raise %>
|
data/spec/internal/log/test.log
CHANGED
@@ -2040,3 +2040,825 @@ Completed 500 Internal Server Error in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
|
2040
2040
|
RuntimeError ():
|
2041
2041
|
app/controllers/failures_controller.rb:6:in `wild_error'
|
2042
2042
|
|
2043
|
+
|
2044
|
+
|
2045
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:06:37 +0100
|
2046
|
+
Processing by FailuresController#wild_error as HTML
|
2047
|
+
Completed 500 Internal Server Error in 1ms
|
2048
|
+
1
|
2049
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2050
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.1ms)
|
2051
|
+
Completed 500 Internal Server Error in 19ms (Views: 18.1ms | ActiveRecord: 0.0ms)
|
2052
|
+
2
|
2053
|
+
|
2054
|
+
RuntimeError ():
|
2055
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2056
|
+
|
2057
|
+
3
|
2058
|
+
4
|
2059
|
+
|
2060
|
+
|
2061
|
+
Started GET "/failures/where_is_it" for 127.0.0.1 at 2012-01-12 10:06:37 +0100
|
2062
|
+
Processing by FailuresController#where_is_it as HTML
|
2063
|
+
Completed 404 Not Found in 1ms
|
2064
|
+
1
|
2065
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2066
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2067
|
+
Completed 404 Not Found in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2068
|
+
2
|
2069
|
+
|
2070
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
2071
|
+
app/controllers/failures_controller.rb:10:in `where_is_it'
|
2072
|
+
|
2073
|
+
3
|
2074
|
+
4
|
2075
|
+
|
2076
|
+
|
2077
|
+
Started GET "/failures/dont_process_this" for 127.0.0.1 at 2012-01-12 10:06:37 +0100
|
2078
|
+
Processing by FailuresController#dont_process_this as HTML
|
2079
|
+
Completed 422 Unprocessable Entity in 1ms
|
2080
|
+
1
|
2081
|
+
Processing by ErrMerchant::ErrorsController#unprocessable_entity as HTML
|
2082
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2083
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2084
|
+
2
|
2085
|
+
|
2086
|
+
ActiveRecord::RecordNotSaved (ActiveRecord::RecordNotSaved):
|
2087
|
+
app/controllers/failures_controller.rb:14:in `dont_process_this'
|
2088
|
+
|
2089
|
+
3
|
2090
|
+
4
|
2091
|
+
|
2092
|
+
|
2093
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:06:37 +0100
|
2094
|
+
Processing by FailuresController#wild_error as HTML
|
2095
|
+
Completed 500 Internal Server Error in 0ms
|
2096
|
+
1
|
2097
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2098
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2099
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2100
|
+
2
|
2101
|
+
|
2102
|
+
RuntimeError ():
|
2103
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2104
|
+
|
2105
|
+
3
|
2106
|
+
4
|
2107
|
+
|
2108
|
+
|
2109
|
+
Started GET "/failures/usual_action" for 127.0.0.1 at 2012-01-12 10:06:37 +0100
|
2110
|
+
Processing by FailuresController#usual_action as HTML
|
2111
|
+
Rendered failures/usual_action.html.erb within layouts/application (0.4ms)
|
2112
|
+
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
|
2113
|
+
|
2114
|
+
|
2115
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:06:37 +0100
|
2116
|
+
Processing by FailuresController#wild_error as HTML
|
2117
|
+
Completed 500 Internal Server Error in 0ms
|
2118
|
+
1
|
2119
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2120
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (1.0ms)
|
2121
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
2122
|
+
2
|
2123
|
+
|
2124
|
+
RuntimeError ():
|
2125
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2126
|
+
|
2127
|
+
3
|
2128
|
+
4
|
2129
|
+
|
2130
|
+
|
2131
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:10:31 +0100
|
2132
|
+
Processing by FailuresController#wild_error as HTML
|
2133
|
+
Completed 500 Internal Server Error in 1ms
|
2134
|
+
1
|
2135
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2136
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.1ms)
|
2137
|
+
Completed 500 Internal Server Error in 18ms (Views: 18.0ms | ActiveRecord: 0.0ms)
|
2138
|
+
2
|
2139
|
+
|
2140
|
+
RuntimeError ():
|
2141
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2142
|
+
|
2143
|
+
3
|
2144
|
+
4
|
2145
|
+
|
2146
|
+
|
2147
|
+
Started GET "/failures/where_is_it" for 127.0.0.1 at 2012-01-12 10:10:31 +0100
|
2148
|
+
Processing by FailuresController#where_is_it as HTML
|
2149
|
+
Completed 404 Not Found in 1ms
|
2150
|
+
1
|
2151
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2152
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2153
|
+
Completed 404 Not Found in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2154
|
+
2
|
2155
|
+
|
2156
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
2157
|
+
app/controllers/failures_controller.rb:10:in `where_is_it'
|
2158
|
+
|
2159
|
+
3
|
2160
|
+
4
|
2161
|
+
|
2162
|
+
|
2163
|
+
Started GET "/failures/dont_process_this" for 127.0.0.1 at 2012-01-12 10:10:31 +0100
|
2164
|
+
Processing by FailuresController#dont_process_this as HTML
|
2165
|
+
Completed 422 Unprocessable Entity in 1ms
|
2166
|
+
1
|
2167
|
+
Processing by ErrMerchant::ErrorsController#unprocessable_entity as HTML
|
2168
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2169
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2170
|
+
2
|
2171
|
+
|
2172
|
+
ActiveRecord::RecordNotSaved (ActiveRecord::RecordNotSaved):
|
2173
|
+
app/controllers/failures_controller.rb:14:in `dont_process_this'
|
2174
|
+
|
2175
|
+
3
|
2176
|
+
4
|
2177
|
+
|
2178
|
+
|
2179
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:10:31 +0100
|
2180
|
+
Processing by FailuresController#wild_error as HTML
|
2181
|
+
Completed 500 Internal Server Error in 0ms
|
2182
|
+
1
|
2183
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2184
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2185
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2186
|
+
2
|
2187
|
+
|
2188
|
+
RuntimeError ():
|
2189
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2190
|
+
|
2191
|
+
3
|
2192
|
+
4
|
2193
|
+
|
2194
|
+
|
2195
|
+
Started GET "/failures/usual_action" for 127.0.0.1 at 2012-01-12 10:10:31 +0100
|
2196
|
+
Processing by FailuresController#usual_action as HTML
|
2197
|
+
Rendered failures/usual_action.html.erb within layouts/application (0.4ms)
|
2198
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
2199
|
+
|
2200
|
+
|
2201
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:10:31 +0100
|
2202
|
+
Processing by FailuresController#wild_error as HTML
|
2203
|
+
Completed 500 Internal Server Error in 0ms
|
2204
|
+
1
|
2205
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2206
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (1.0ms)
|
2207
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
2208
|
+
2
|
2209
|
+
|
2210
|
+
RuntimeError ():
|
2211
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2212
|
+
|
2213
|
+
3
|
2214
|
+
4
|
2215
|
+
|
2216
|
+
|
2217
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:11:42 +0100
|
2218
|
+
Processing by FailuresController#wild_error as HTML
|
2219
|
+
Completed 500 Internal Server Error in 1ms
|
2220
|
+
1
|
2221
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2222
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.2ms)
|
2223
|
+
Completed 500 Internal Server Error in 19ms (Views: 18.2ms | ActiveRecord: 0.0ms)
|
2224
|
+
2
|
2225
|
+
|
2226
|
+
RuntimeError ():
|
2227
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2228
|
+
|
2229
|
+
3
|
2230
|
+
4
|
2231
|
+
|
2232
|
+
|
2233
|
+
Started GET "/failures/where_is_it" for 127.0.0.1 at 2012-01-12 10:11:42 +0100
|
2234
|
+
Processing by FailuresController#where_is_it as HTML
|
2235
|
+
Completed 404 Not Found in 1ms
|
2236
|
+
1
|
2237
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2238
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2239
|
+
Completed 404 Not Found in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2240
|
+
2
|
2241
|
+
|
2242
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
2243
|
+
app/controllers/failures_controller.rb:10:in `where_is_it'
|
2244
|
+
|
2245
|
+
3
|
2246
|
+
4
|
2247
|
+
|
2248
|
+
|
2249
|
+
Started GET "/failures/dont_process_this" for 127.0.0.1 at 2012-01-12 10:11:42 +0100
|
2250
|
+
Processing by FailuresController#dont_process_this as HTML
|
2251
|
+
Completed 422 Unprocessable Entity in 1ms
|
2252
|
+
1
|
2253
|
+
Processing by ErrMerchant::ErrorsController#unprocessable_entity as HTML
|
2254
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2255
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2256
|
+
2
|
2257
|
+
|
2258
|
+
ActiveRecord::RecordNotSaved (ActiveRecord::RecordNotSaved):
|
2259
|
+
app/controllers/failures_controller.rb:14:in `dont_process_this'
|
2260
|
+
|
2261
|
+
3
|
2262
|
+
4
|
2263
|
+
|
2264
|
+
|
2265
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:11:42 +0100
|
2266
|
+
Processing by FailuresController#wild_error as HTML
|
2267
|
+
Completed 500 Internal Server Error in 0ms
|
2268
|
+
1
|
2269
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2270
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2271
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2272
|
+
2
|
2273
|
+
|
2274
|
+
RuntimeError ():
|
2275
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2276
|
+
|
2277
|
+
3
|
2278
|
+
4
|
2279
|
+
|
2280
|
+
|
2281
|
+
Started GET "/failures/usual_action" for 127.0.0.1 at 2012-01-12 10:11:42 +0100
|
2282
|
+
Processing by FailuresController#usual_action as HTML
|
2283
|
+
Rendered failures/usual_action.html.erb within layouts/application (0.4ms)
|
2284
|
+
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
2285
|
+
|
2286
|
+
|
2287
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:11:42 +0100
|
2288
|
+
Processing by FailuresController#wild_error as HTML
|
2289
|
+
Completed 500 Internal Server Error in 0ms
|
2290
|
+
1
|
2291
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2292
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (1.0ms)
|
2293
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
2294
|
+
2
|
2295
|
+
|
2296
|
+
RuntimeError ():
|
2297
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2298
|
+
|
2299
|
+
3
|
2300
|
+
4
|
2301
|
+
|
2302
|
+
|
2303
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:12:31 +0100
|
2304
|
+
Processing by FailuresController#wild_error as HTML
|
2305
|
+
Completed 500 Internal Server Error in 1ms
|
2306
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2307
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.1ms)
|
2308
|
+
Completed 500 Internal Server Error in 18ms (Views: 17.8ms | ActiveRecord: 0.0ms)
|
2309
|
+
|
2310
|
+
RuntimeError ():
|
2311
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2312
|
+
|
2313
|
+
|
2314
|
+
|
2315
|
+
Started GET "/failures/where_is_it" for 127.0.0.1 at 2012-01-12 10:12:31 +0100
|
2316
|
+
Processing by FailuresController#where_is_it as HTML
|
2317
|
+
Completed 404 Not Found in 1ms
|
2318
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2319
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2320
|
+
Completed 404 Not Found in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2321
|
+
|
2322
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
2323
|
+
app/controllers/failures_controller.rb:10:in `where_is_it'
|
2324
|
+
|
2325
|
+
|
2326
|
+
|
2327
|
+
Started GET "/failures/dont_process_this" for 127.0.0.1 at 2012-01-12 10:12:31 +0100
|
2328
|
+
Processing by FailuresController#dont_process_this as HTML
|
2329
|
+
Completed 422 Unprocessable Entity in 1ms
|
2330
|
+
Processing by ErrMerchant::ErrorsController#unprocessable_entity as HTML
|
2331
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2332
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2333
|
+
|
2334
|
+
ActiveRecord::RecordNotSaved (ActiveRecord::RecordNotSaved):
|
2335
|
+
app/controllers/failures_controller.rb:14:in `dont_process_this'
|
2336
|
+
|
2337
|
+
|
2338
|
+
|
2339
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:12:31 +0100
|
2340
|
+
Processing by FailuresController#wild_error as HTML
|
2341
|
+
Completed 500 Internal Server Error in 0ms
|
2342
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2343
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2344
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2345
|
+
|
2346
|
+
RuntimeError ():
|
2347
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2348
|
+
|
2349
|
+
|
2350
|
+
|
2351
|
+
Started GET "/failures/usual_action" for 127.0.0.1 at 2012-01-12 10:12:31 +0100
|
2352
|
+
Processing by FailuresController#usual_action as HTML
|
2353
|
+
Rendered failures/usual_action.html.erb within layouts/application (0.4ms)
|
2354
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
2355
|
+
|
2356
|
+
|
2357
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:12:31 +0100
|
2358
|
+
Processing by FailuresController#wild_error as HTML
|
2359
|
+
Completed 500 Internal Server Error in 0ms
|
2360
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2361
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (1.0ms)
|
2362
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
2363
|
+
|
2364
|
+
RuntimeError ():
|
2365
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2366
|
+
|
2367
|
+
|
2368
|
+
|
2369
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:12:52 +0100
|
2370
|
+
Processing by FailuresController#wild_error as HTML
|
2371
|
+
Completed 500 Internal Server Error in 1ms
|
2372
|
+
1
|
2373
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2374
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.1ms)
|
2375
|
+
Completed 500 Internal Server Error in 18ms (Views: 18.0ms | ActiveRecord: 0.0ms)
|
2376
|
+
2
|
2377
|
+
|
2378
|
+
RuntimeError ():
|
2379
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2380
|
+
|
2381
|
+
3
|
2382
|
+
|
2383
|
+
|
2384
|
+
Started GET "/failures/where_is_it" for 127.0.0.1 at 2012-01-12 10:12:52 +0100
|
2385
|
+
Processing by FailuresController#where_is_it as HTML
|
2386
|
+
Completed 404 Not Found in 1ms
|
2387
|
+
1
|
2388
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2389
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2390
|
+
Completed 404 Not Found in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2391
|
+
2
|
2392
|
+
|
2393
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
2394
|
+
app/controllers/failures_controller.rb:10:in `where_is_it'
|
2395
|
+
|
2396
|
+
3
|
2397
|
+
|
2398
|
+
|
2399
|
+
Started GET "/failures/dont_process_this" for 127.0.0.1 at 2012-01-12 10:12:52 +0100
|
2400
|
+
Processing by FailuresController#dont_process_this as HTML
|
2401
|
+
Completed 422 Unprocessable Entity in 1ms
|
2402
|
+
1
|
2403
|
+
Processing by ErrMerchant::ErrorsController#unprocessable_entity as HTML
|
2404
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2405
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2406
|
+
2
|
2407
|
+
|
2408
|
+
ActiveRecord::RecordNotSaved (ActiveRecord::RecordNotSaved):
|
2409
|
+
app/controllers/failures_controller.rb:14:in `dont_process_this'
|
2410
|
+
|
2411
|
+
3
|
2412
|
+
|
2413
|
+
|
2414
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:12:52 +0100
|
2415
|
+
Processing by FailuresController#wild_error as HTML
|
2416
|
+
Completed 500 Internal Server Error in 0ms
|
2417
|
+
1
|
2418
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2419
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2420
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2421
|
+
2
|
2422
|
+
|
2423
|
+
RuntimeError ():
|
2424
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2425
|
+
|
2426
|
+
3
|
2427
|
+
|
2428
|
+
|
2429
|
+
Started GET "/failures/usual_action" for 127.0.0.1 at 2012-01-12 10:12:52 +0100
|
2430
|
+
Processing by FailuresController#usual_action as HTML
|
2431
|
+
Rendered failures/usual_action.html.erb within layouts/application (0.4ms)
|
2432
|
+
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
2433
|
+
|
2434
|
+
|
2435
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:12:52 +0100
|
2436
|
+
Processing by FailuresController#wild_error as HTML
|
2437
|
+
Completed 500 Internal Server Error in 0ms
|
2438
|
+
1
|
2439
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2440
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (1.0ms)
|
2441
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
2442
|
+
2
|
2443
|
+
|
2444
|
+
RuntimeError ():
|
2445
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2446
|
+
|
2447
|
+
3
|
2448
|
+
|
2449
|
+
|
2450
|
+
Started GET "/" for 127.0.0.1 at 2012-01-12 10:33:33 +0100
|
2451
|
+
1
|
2452
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2453
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.0ms)
|
2454
|
+
Completed 404 Not Found in 19ms (Views: 18.3ms | ActiveRecord: 0.0ms)
|
2455
|
+
2
|
2456
|
+
|
2457
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
2458
|
+
|
2459
|
+
|
2460
|
+
3
|
2461
|
+
|
2462
|
+
|
2463
|
+
Started GET "/" for 127.0.0.1 at 2012-01-12 10:33:48 +0100
|
2464
|
+
1
|
2465
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2466
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2467
|
+
Completed 404 Not Found in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2468
|
+
2
|
2469
|
+
|
2470
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
2471
|
+
|
2472
|
+
|
2473
|
+
3
|
2474
|
+
|
2475
|
+
|
2476
|
+
Started GET "/" for 127.0.0.1 at 2012-01-12 10:33:50 +0100
|
2477
|
+
1
|
2478
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2479
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2480
|
+
Completed 404 Not Found in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
2481
|
+
2
|
2482
|
+
|
2483
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
2484
|
+
|
2485
|
+
|
2486
|
+
3
|
2487
|
+
|
2488
|
+
|
2489
|
+
Started GET "/" for 127.0.0.1 at 2012-01-12 10:34:10 +0100
|
2490
|
+
1
|
2491
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2492
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.0ms)
|
2493
|
+
Completed 500 Internal Server Error in 34ms
|
2494
|
+
#<ActionView::Template::Error: ActionView::Template::Error>
|
2495
|
+
|
2496
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
2497
|
+
|
2498
|
+
|
2499
|
+
Rendered /Users/fabian/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
|
2500
|
+
|
2501
|
+
|
2502
|
+
Started GET "/" for 127.0.0.1 at 2012-01-12 10:36:26 +0100
|
2503
|
+
1
|
2504
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2505
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.3ms)
|
2506
|
+
Completed 500 Internal Server Error in 34ms
|
2507
|
+
#<ActionView::Template::Error: ActionView::Template::Error>
|
2508
|
+
|
2509
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
2510
|
+
|
2511
|
+
|
2512
|
+
Rendered /Users/fabian/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
|
2513
|
+
|
2514
|
+
|
2515
|
+
Started GET "/" for 127.0.0.1 at 2012-01-12 10:44:37 +0100
|
2516
|
+
1
|
2517
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2518
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.4ms)
|
2519
|
+
Completed 500 Internal Server Error in 39ms
|
2520
|
+
#<ActionView::Template::Error: ActionView::Template::Error>
|
2521
|
+
|
2522
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
2523
|
+
|
2524
|
+
|
2525
|
+
|
2526
|
+
|
2527
|
+
Started GET "/" for 127.0.0.1 at 2012-01-12 10:44:43 +0100
|
2528
|
+
1
|
2529
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2530
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2531
|
+
Completed 500 Internal Server Error in 18ms
|
2532
|
+
#<ActionView::Template::Error: ActionView::Template::Error>
|
2533
|
+
|
2534
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
2535
|
+
|
2536
|
+
|
2537
|
+
|
2538
|
+
|
2539
|
+
Started GET "/" for 127.0.0.1 at 2012-01-12 10:44:47 +0100
|
2540
|
+
1
|
2541
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2542
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2543
|
+
Completed 500 Internal Server Error in 17ms
|
2544
|
+
#<ActionView::Template::Error: ActionView::Template::Error>
|
2545
|
+
|
2546
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
2547
|
+
|
2548
|
+
|
2549
|
+
|
2550
|
+
|
2551
|
+
Started GET "/" for 127.0.0.1 at 2012-01-12 10:45:24 +0100
|
2552
|
+
1
|
2553
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2554
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (2.9ms)
|
2555
|
+
Completed 404 Not Found in 19ms (Views: 18.3ms | ActiveRecord: 0.0ms)
|
2556
|
+
2
|
2557
|
+
|
2558
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
2559
|
+
|
2560
|
+
|
2561
|
+
3
|
2562
|
+
|
2563
|
+
|
2564
|
+
Started GET "/" for 127.0.0.1 at 2012-01-12 10:46:52 +0100
|
2565
|
+
1
|
2566
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2567
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.5ms)
|
2568
|
+
Completed 500 Internal Server Error in 26ms
|
2569
|
+
#<ActionView::Template::Error: ActionView::Template::Error>
|
2570
|
+
|
2571
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
2572
|
+
|
2573
|
+
|
2574
|
+
|
2575
|
+
|
2576
|
+
Started GET "/failures" for 127.0.0.1 at 2012-01-12 10:47:01 +0100
|
2577
|
+
1
|
2578
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2579
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.7ms)
|
2580
|
+
Completed 500 Internal Server Error in 3ms
|
2581
|
+
#<ActionView::Template::Error: ActionView::Template::Error>
|
2582
|
+
|
2583
|
+
AbstractController::ActionNotFound (The action 'index' could not be found for FailuresController):
|
2584
|
+
|
2585
|
+
|
2586
|
+
|
2587
|
+
|
2588
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:47:04 +0100
|
2589
|
+
Processing by FailuresController#wild_error as HTML
|
2590
|
+
Completed 500 Internal Server Error in 1ms
|
2591
|
+
1
|
2592
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2593
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2594
|
+
Completed 500 Internal Server Error in 3ms
|
2595
|
+
#<ActionView::Template::Error: ActionView::Template::Error>
|
2596
|
+
|
2597
|
+
RuntimeError ():
|
2598
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2599
|
+
|
2600
|
+
|
2601
|
+
|
2602
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:47:06 +0100
|
2603
|
+
Processing by FailuresController#wild_error as HTML
|
2604
|
+
Completed 500 Internal Server Error in 0ms
|
2605
|
+
1
|
2606
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2607
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.1ms)
|
2608
|
+
Completed 500 Internal Server Error in 2ms
|
2609
|
+
#<ActionView::Template::Error: ActionView::Template::Error>
|
2610
|
+
|
2611
|
+
RuntimeError ():
|
2612
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2613
|
+
|
2614
|
+
|
2615
|
+
|
2616
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:53:07 +0100
|
2617
|
+
Processing by FailuresController#wild_error as HTML
|
2618
|
+
Completed 500 Internal Server Error in 1ms
|
2619
|
+
1
|
2620
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2621
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.0ms)
|
2622
|
+
Completed 500 Internal Server Error in 18ms (Views: 17.8ms | ActiveRecord: 0.0ms)
|
2623
|
+
2
|
2624
|
+
|
2625
|
+
RuntimeError ():
|
2626
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2627
|
+
|
2628
|
+
3
|
2629
|
+
|
2630
|
+
|
2631
|
+
Started GET "/failures/where_is_it" for 127.0.0.1 at 2012-01-12 10:53:08 +0100
|
2632
|
+
Processing by FailuresController#where_is_it as HTML
|
2633
|
+
Completed 404 Not Found in 1ms
|
2634
|
+
1
|
2635
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2636
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2637
|
+
Completed 404 Not Found in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2638
|
+
2
|
2639
|
+
|
2640
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
2641
|
+
app/controllers/failures_controller.rb:10:in `where_is_it'
|
2642
|
+
|
2643
|
+
3
|
2644
|
+
|
2645
|
+
|
2646
|
+
Started GET "/failures/dont_process_this" for 127.0.0.1 at 2012-01-12 10:53:08 +0100
|
2647
|
+
Processing by FailuresController#dont_process_this as HTML
|
2648
|
+
Completed 422 Unprocessable Entity in 1ms
|
2649
|
+
1
|
2650
|
+
Processing by ErrMerchant::ErrorsController#unprocessable_entity as HTML
|
2651
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2652
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2653
|
+
2
|
2654
|
+
|
2655
|
+
ActiveRecord::RecordNotSaved (ActiveRecord::RecordNotSaved):
|
2656
|
+
app/controllers/failures_controller.rb:14:in `dont_process_this'
|
2657
|
+
|
2658
|
+
3
|
2659
|
+
|
2660
|
+
|
2661
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:53:08 +0100
|
2662
|
+
Processing by FailuresController#wild_error as HTML
|
2663
|
+
Completed 500 Internal Server Error in 0ms
|
2664
|
+
1
|
2665
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2666
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2667
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2668
|
+
2
|
2669
|
+
|
2670
|
+
RuntimeError ():
|
2671
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2672
|
+
|
2673
|
+
3
|
2674
|
+
|
2675
|
+
|
2676
|
+
Started GET "/failures/usual_action" for 127.0.0.1 at 2012-01-12 10:53:08 +0100
|
2677
|
+
Processing by FailuresController#usual_action as HTML
|
2678
|
+
Rendered failures/usual_action.html.erb within layouts/application (0.4ms)
|
2679
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
2680
|
+
|
2681
|
+
|
2682
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:53:08 +0100
|
2683
|
+
Processing by FailuresController#wild_error as HTML
|
2684
|
+
Completed 500 Internal Server Error in 0ms
|
2685
|
+
1
|
2686
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2687
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (1.0ms)
|
2688
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
2689
|
+
2
|
2690
|
+
|
2691
|
+
RuntimeError ():
|
2692
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2693
|
+
|
2694
|
+
3
|
2695
|
+
|
2696
|
+
|
2697
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:53:08 +0100
|
2698
|
+
Processing by FailuresController#wild_error as HTML
|
2699
|
+
Completed 500 Internal Server Error in 0ms
|
2700
|
+
1
|
2701
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2702
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/erroneous (0.4ms)
|
2703
|
+
Completed 500 Internal Server Error in 8ms
|
2704
|
+
#<ActionView::Template::Error: ActionView::Template::Error>
|
2705
|
+
|
2706
|
+
RuntimeError ():
|
2707
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2708
|
+
|
2709
|
+
|
2710
|
+
|
2711
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:55:15 +0100
|
2712
|
+
Processing by FailuresController#wild_error as HTML
|
2713
|
+
Completed 500 Internal Server Error in 1ms
|
2714
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2715
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.3ms)
|
2716
|
+
Completed 500 Internal Server Error in 19ms (Views: 19.0ms | ActiveRecord: 0.0ms)
|
2717
|
+
|
2718
|
+
RuntimeError ():
|
2719
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2720
|
+
|
2721
|
+
|
2722
|
+
|
2723
|
+
Started GET "/failures/where_is_it" for 127.0.0.1 at 2012-01-12 10:55:15 +0100
|
2724
|
+
Processing by FailuresController#where_is_it as HTML
|
2725
|
+
Completed 404 Not Found in 1ms
|
2726
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2727
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2728
|
+
Completed 404 Not Found in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2729
|
+
|
2730
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
2731
|
+
app/controllers/failures_controller.rb:10:in `where_is_it'
|
2732
|
+
|
2733
|
+
|
2734
|
+
|
2735
|
+
Started GET "/failures/dont_process_this" for 127.0.0.1 at 2012-01-12 10:55:15 +0100
|
2736
|
+
Processing by FailuresController#dont_process_this as HTML
|
2737
|
+
Completed 422 Unprocessable Entity in 1ms
|
2738
|
+
Processing by ErrMerchant::ErrorsController#unprocessable_entity as HTML
|
2739
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2740
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2741
|
+
|
2742
|
+
ActiveRecord::RecordNotSaved (ActiveRecord::RecordNotSaved):
|
2743
|
+
app/controllers/failures_controller.rb:14:in `dont_process_this'
|
2744
|
+
|
2745
|
+
|
2746
|
+
|
2747
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:55:15 +0100
|
2748
|
+
Processing by FailuresController#wild_error as HTML
|
2749
|
+
Completed 500 Internal Server Error in 0ms
|
2750
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2751
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2752
|
+
Completed 500 Internal Server Error in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2753
|
+
|
2754
|
+
RuntimeError ():
|
2755
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2756
|
+
|
2757
|
+
|
2758
|
+
|
2759
|
+
Started GET "/failures/usual_action" for 127.0.0.1 at 2012-01-12 10:55:15 +0100
|
2760
|
+
Processing by FailuresController#usual_action as HTML
|
2761
|
+
Rendered failures/usual_action.html.erb within layouts/application (0.4ms)
|
2762
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
2763
|
+
|
2764
|
+
|
2765
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:55:16 +0100
|
2766
|
+
Processing by FailuresController#wild_error as HTML
|
2767
|
+
Completed 500 Internal Server Error in 1ms
|
2768
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2769
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (1.0ms)
|
2770
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
2771
|
+
|
2772
|
+
RuntimeError ():
|
2773
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2774
|
+
|
2775
|
+
|
2776
|
+
|
2777
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:55:16 +0100
|
2778
|
+
Processing by FailuresController#wild_error as HTML
|
2779
|
+
Completed 500 Internal Server Error in 0ms
|
2780
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2781
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/erroneous (0.5ms)
|
2782
|
+
Completed 500 Internal Server Error in 8ms
|
2783
|
+
|
2784
|
+
RuntimeError ():
|
2785
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2786
|
+
|
2787
|
+
|
2788
|
+
|
2789
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:59:25 +0100
|
2790
|
+
Processing by FailuresController#wild_error as HTML
|
2791
|
+
Completed 500 Internal Server Error in 1ms
|
2792
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2793
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (3.1ms)
|
2794
|
+
Completed 500 Internal Server Error in 18ms (Views: 17.9ms | ActiveRecord: 0.0ms)
|
2795
|
+
|
2796
|
+
RuntimeError ():
|
2797
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2798
|
+
|
2799
|
+
|
2800
|
+
|
2801
|
+
Started GET "/failures/where_is_it" for 127.0.0.1 at 2012-01-12 10:59:25 +0100
|
2802
|
+
Processing by FailuresController#where_is_it as HTML
|
2803
|
+
Completed 404 Not Found in 1ms
|
2804
|
+
Processing by ErrMerchant::ErrorsController#not_found as HTML
|
2805
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2806
|
+
Completed 404 Not Found in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2807
|
+
|
2808
|
+
ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
|
2809
|
+
app/controllers/failures_controller.rb:10:in `where_is_it'
|
2810
|
+
|
2811
|
+
|
2812
|
+
|
2813
|
+
Started GET "/failures/dont_process_this" for 127.0.0.1 at 2012-01-12 10:59:25 +0100
|
2814
|
+
Processing by FailuresController#dont_process_this as HTML
|
2815
|
+
Completed 422 Unprocessable Entity in 1ms
|
2816
|
+
Processing by ErrMerchant::ErrorsController#unprocessable_entity as HTML
|
2817
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.3ms)
|
2818
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2819
|
+
|
2820
|
+
ActiveRecord::RecordNotSaved (ActiveRecord::RecordNotSaved):
|
2821
|
+
app/controllers/failures_controller.rb:14:in `dont_process_this'
|
2822
|
+
|
2823
|
+
|
2824
|
+
|
2825
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:59:25 +0100
|
2826
|
+
Processing by FailuresController#wild_error as HTML
|
2827
|
+
Completed 500 Internal Server Error in 0ms
|
2828
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2829
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (0.2ms)
|
2830
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2831
|
+
|
2832
|
+
RuntimeError ():
|
2833
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2834
|
+
|
2835
|
+
|
2836
|
+
|
2837
|
+
Started GET "/failures/usual_action" for 127.0.0.1 at 2012-01-12 10:59:25 +0100
|
2838
|
+
Processing by FailuresController#usual_action as HTML
|
2839
|
+
Rendered failures/usual_action.html.erb within layouts/application (0.4ms)
|
2840
|
+
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
2841
|
+
|
2842
|
+
|
2843
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:59:25 +0100
|
2844
|
+
Processing by FailuresController#wild_error as HTML
|
2845
|
+
Completed 500 Internal Server Error in 0ms
|
2846
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2847
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/application (1.0ms)
|
2848
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
2849
|
+
|
2850
|
+
RuntimeError ():
|
2851
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2852
|
+
|
2853
|
+
|
2854
|
+
|
2855
|
+
Started GET "/failures/wild_error" for 127.0.0.1 at 2012-01-12 10:59:25 +0100
|
2856
|
+
Processing by FailuresController#wild_error as HTML
|
2857
|
+
Completed 500 Internal Server Error in 0ms
|
2858
|
+
Processing by ErrMerchant::ErrorsController#internal_server_error as HTML
|
2859
|
+
Rendered /Users/fabian/code/gems/err_merchant/app/views/err_merchant/errors/template.html.erb within layouts/erroneous (0.4ms)
|
2860
|
+
Completed 500 Internal Server Error in 8ms
|
2861
|
+
|
2862
|
+
RuntimeError ():
|
2863
|
+
app/controllers/failures_controller.rb:6:in `wild_error'
|
2864
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: err_merchant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-01-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &2153038800 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2153038800
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: combustion
|
27
|
-
requirement: &
|
27
|
+
requirement: &2153038300 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.3.1
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2153038300
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sqlite3
|
38
|
-
requirement: &
|
38
|
+
requirement: &2153037900 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2153037900
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec-rails
|
49
|
-
requirement: &
|
49
|
+
requirement: &2153037160 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '2.0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2153037160
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: capybara
|
60
|
-
requirement: &
|
60
|
+
requirement: &2152769260 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: '1.0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2152769260
|
69
69
|
description: Rails Engine for rendering error pages
|
70
70
|
email:
|
71
71
|
- fabian.schwahn@gmail.com
|
@@ -77,6 +77,9 @@ files:
|
|
77
77
|
- lib/err_merchant/show_exceptions_patch.rb
|
78
78
|
- lib/err_merchant/version.rb
|
79
79
|
- lib/err_merchant.rb
|
80
|
+
- app/controllers/err_merchant/errors_controller.rb
|
81
|
+
- app/views/err_merchant/errors/template.html.erb
|
82
|
+
- config/locales/en.yml
|
80
83
|
- MIT-LICENSE
|
81
84
|
- Rakefile
|
82
85
|
- README.rdoc
|
@@ -85,11 +88,14 @@ files:
|
|
85
88
|
- spec/internal/app/controllers/failures_controller.rb
|
86
89
|
- spec/internal/app/views/failures/usual_action.html.erb
|
87
90
|
- spec/internal/app/views/layouts/application.html.erb
|
91
|
+
- spec/internal/app/views/layouts/erroneous.html.erb
|
88
92
|
- spec/internal/config/database.yml
|
93
|
+
- spec/internal/config/initializers/local_request_override.rb
|
89
94
|
- spec/internal/config/routes.rb
|
90
95
|
- spec/internal/db/combustion_test.sqlite
|
91
96
|
- spec/internal/db/schema.rb
|
92
97
|
- spec/internal/log/test.log
|
98
|
+
- spec/internal/public/500.html
|
93
99
|
- spec/internal/public/favicon.ico
|
94
100
|
- spec/spec_helper.rb
|
95
101
|
homepage: https://github.com/fschwahn/err_merchant
|
@@ -106,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
106
112
|
version: '0'
|
107
113
|
segments:
|
108
114
|
- 0
|
109
|
-
hash:
|
115
|
+
hash: 618392942798531707
|
110
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
117
|
none: false
|
112
118
|
requirements:
|
@@ -115,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
121
|
version: '0'
|
116
122
|
segments:
|
117
123
|
- 0
|
118
|
-
hash:
|
124
|
+
hash: 618392942798531707
|
119
125
|
requirements: []
|
120
126
|
rubyforge_project:
|
121
127
|
rubygems_version: 1.8.15
|
@@ -128,10 +134,13 @@ test_files:
|
|
128
134
|
- spec/internal/app/controllers/failures_controller.rb
|
129
135
|
- spec/internal/app/views/failures/usual_action.html.erb
|
130
136
|
- spec/internal/app/views/layouts/application.html.erb
|
137
|
+
- spec/internal/app/views/layouts/erroneous.html.erb
|
131
138
|
- spec/internal/config/database.yml
|
139
|
+
- spec/internal/config/initializers/local_request_override.rb
|
132
140
|
- spec/internal/config/routes.rb
|
133
141
|
- spec/internal/db/combustion_test.sqlite
|
134
142
|
- spec/internal/db/schema.rb
|
135
143
|
- spec/internal/log/test.log
|
144
|
+
- spec/internal/public/500.html
|
136
145
|
- spec/internal/public/favicon.ico
|
137
146
|
- spec/spec_helper.rb
|