aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorMark Rushakoff <mark.rushakoff@gmail.com>2012-04-27 21:33:56 -0700
committerMark Rushakoff <mark.rushakoff@gmail.com>2012-04-27 21:33:56 -0700
commitc13d36c95fcc0d327dff7af36ae07afaf3ce603c (patch)
treef5f814ff86e007c8c2419e7c88de7a3b14809651 /actionpack/lib
parent43af34c0f6c81d4d93be1bc1e743c202e8244485 (diff)
downloadrails-c13d36c95fcc0d327dff7af36ae07afaf3ce603c.tar.gz
rails-c13d36c95fcc0d327dff7af36ae07afaf3ce603c.tar.bz2
rails-c13d36c95fcc0d327dff7af36ae07afaf3ce603c.zip
More using <tt>x</tt> instead of +x+ when the latter renders improperly.
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/metal/params_wrapper.rb2
-rw-r--r--actionpack/lib/action_dispatch/middleware/reloader.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/metal/params_wrapper.rb b/actionpack/lib/action_controller/metal/params_wrapper.rb
index 17e2db74d4..7e2316d01c 100644
--- a/actionpack/lib/action_controller/metal/params_wrapper.rb
+++ b/actionpack/lib/action_controller/metal/params_wrapper.rb
@@ -48,7 +48,7 @@ module ActionController
# method attribute_names.
#
# If you're going to pass the parameters to an +ActiveModel+ object (such as
- # +User.new(params[:user])+), you might consider passing the model class to
+ # <tt>User.new(params[:user])</tt>), you might consider passing the model class to
# the method instead. The +ParamsWrapper+ will actually try to determine the
# list of attribute names from the model and only wrap those attributes:
#
diff --git a/actionpack/lib/action_dispatch/middleware/reloader.rb b/actionpack/lib/action_dispatch/middleware/reloader.rb
index a0388e0e13..25ad4ecdd3 100644
--- a/actionpack/lib/action_dispatch/middleware/reloader.rb
+++ b/actionpack/lib/action_dispatch/middleware/reloader.rb
@@ -20,8 +20,8 @@ module ActionDispatch
# By default, ActionDispatch::Reloader is included in the middleware stack
# only in the development environment; specifically, when config.cache_classes
# is false. Callbacks may be registered even when it is not included in the
- # middleware stack, but are executed only when +ActionDispatch::Reloader.prepare!+
- # or +ActionDispatch::Reloader.cleanup!+ are called manually.
+ # middleware stack, but are executed only when <tt>ActionDispatch::Reloader.prepare!</tt>
+ # or <tt>ActionDispatch::Reloader.cleanup!</tt> are called manually.
#
class Reloader
include ActiveSupport::Callbacks