annotate public/500.html @ 83:ae360c3b0bb0

Disable explain when using jruby because it's not supported. The patch for this support exist but for some reason still not included in latest release of the jdbc adapter. Reference: https://github.com/jruby/activerecord-jdbc-adapter/pull/206
author Edho Arief <edho@myconan.net>
date Mon, 15 Oct 2012 03:45:18 -0700
parents 4aa8194a1733
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 <!DOCTYPE html>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2 <html>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 <head>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 <title>We're sorry, but something went wrong (500)</title>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
5 <style type="text/css">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6 body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 div.dialog {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8 width: 25em;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
9 padding: 0 4em;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10 margin: 4em auto 0 auto;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
11 border: 1px solid #ccc;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
12 border-right-color: #999;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
13 border-bottom-color: #999;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
14 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
15 h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
16 </style>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
17 </head>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
18
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
19 <body>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
20 <!-- This file lives in public/500.html -->
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
21 <div class="dialog">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
22 <h1>We're sorry, but something went wrong.</h1>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
23 </div>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
24 </body>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
25 </html>