aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorStephen J. Butler <stephen.butler@gmail.com>2011-09-01 19:55:38 -0500
committerStephen J. Butler <stephen.butler@gmail.com>2011-09-01 19:55:38 -0500
commit16aa4330d7a07736ce59ea3a96e57d17fa628a2d (patch)
treeb463f524f359d2592762cf3f1d3b92a12e3e86c9 /railties
parentca7c37a660b66b6b3cdd7fe4ab850ea5a32cc2c0 (diff)
downloadrails-16aa4330d7a07736ce59ea3a96e57d17fa628a2d.tar.gz
rails-16aa4330d7a07736ce59ea3a96e57d17fa628a2d.tar.bz2
rails-16aa4330d7a07736ce59ea3a96e57d17fa628a2d.zip
Change the styling of '<ruby>initialize</ruby>' to '+initialize+' (the former breaks the HTML generation).
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/initialization.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/initialization.textile b/railties/guides/source/initialization.textile
index 9cc4dd5f04..8aabc3ae91 100644
--- a/railties/guides/source/initialization.textile
+++ b/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__)