Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 7619

Show
Ignore:
Timestamp:
09/24/07 22:50:43 (2 years ago)
Author:
david
Message:

Added a default 422.html page to be rendered when ActiveRecord::RecordInvalid, ActiveRecord::RecordNotSaved, or ActionController::InvalidToken is raised [DHH]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/CHANGELOG

    r7601 r7619  
    11*SVN* 
     2 
     3* Added a default 422.html page to be rendered when ActiveRecord::RecordInvalid, ActiveRecord::RecordNotSaved, or ActionController::InvalidToken is raised [DHH] 
    24 
    35* Added --skip-fixture option to script/generate model #6862 [sandofsky] 
  • trunk/railties/html/500.html

    r5306 r7619  
    66<head> 
    77  <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 
    8   <title>We're sorry, but something went wrong</title> 
     8  <title>We're sorry, but something went wrong (500)</title> 
    99        <style type="text/css"> 
    1010                body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; } 
  • trunk/railties/Rakefile

    r6881 r7619  
    6767 
    6868LOG_FILES    = %w( server.log development.log test.log production.log ) 
    69 HTML_FILES   = %w( 404.html 500.html index.html robots.txt favicon.ico images/rails.png 
     69HTML_FILES   = %w( 422.html 404.html 500.html index.html robots.txt favicon.ico images/rails.png 
    7070                   javascripts/prototype.js javascripts/application.js 
    7171                   javascripts/effects.js javascripts/dragdrop.js javascripts/controls.js )