Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change the styling of '<ruby>initialize</ruby>' to '+initialize+' (th…

…e former breaks the HTML generation).
  • Loading branch information...
commit 16aa4330d7a07736ce59ea3a96e57d17fa628a2d 1 parent ca7c37a
@sbutler sbutler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/initialization.textile
View
2  railties/guides/source/initialization.textile
@@ -454,7 +454,7 @@ app = eval "Rack::Builder.new {( " + cfgfile + "\n )}.to_app",
TOPLEVEL_BINDING, config
</ruby>
-The <ruby>initialize</ruby> method will take the block here and execute it within an instance of +Rack::Builder+. This is where the majority of the initialization process of Rails happens. The chain of events that this simple line sets off will be the focus of a large majority of this guide. The +require+ line for +config/environment.rb+ in +config.ru+ is the first to run:
+The +initialize+ method will take the block here and execute it within an instance of +Rack::Builder+. This is where the majority of the initialization process of Rails happens. The chain of events that this simple line sets off will be the focus of a large majority of this guide. The +require+ line for +config/environment.rb+ in +config.ru+ is the first to run:
<ruby>
require ::File.expand_path('../config/environment', __FILE__)
Please sign in to comment.
Something went wrong with that request. Please try again.