File tree 6 files changed +8
-8
lines changed
actionmailer/lib/action_mailer
actionpack/lib/action_controller/metal
activemodel/lib/active_model
6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -486,7 +486,7 @@ def mailer_name
486
486
self . class . mailer_name
487
487
end
488
488
489
- # Allows you to pass random and unusual headers to the new + Mail::Message+ object
489
+ # Allows you to pass random and unusual headers to the new <tt> Mail::Message</tt> object
490
490
# which will add them to itself.
491
491
#
492
492
# headers['X-Special-Domain-Specific-Header'] = "SecretValue"
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ module ActionController
66
66
# class Admin::UsersController < ApplicationController
67
67
# end
68
68
#
69
- # will try to check if + Admin::User+ or +User+ model exists, and use it to
69
+ # will try to check if <tt> Admin::User</tt> or +User+ model exists, and use it to
70
70
# determine the wrapper key respectively. If both models don't exist,
71
71
# it will then fallback to use +user+ as the key.
72
72
module ParamsWrapper
Original file line number Diff line number Diff line change @@ -139,17 +139,17 @@ module ActionController #:nodoc:
139
139
# session or flash after the template starts rendering will not propagate
140
140
# to the client.
141
141
#
142
- # If you try to modify cookies, session or flash, an + ActionDispatch::ClosedError+
142
+ # If you try to modify cookies, session or flash, an <tt> ActionDispatch::ClosedError</tt>
143
143
# will be raised, showing those objects are closed for modification.
144
144
#
145
145
# == Middlewares
146
146
#
147
147
# Middlewares that need to manipulate the body won't work with streaming.
148
148
# You should disable those middlewares whenever streaming in development
149
- # or production. For instance, + Rack::Bug+ won't work when streaming as it
149
+ # or production. For instance, <tt> Rack::Bug</tt> won't work when streaming as it
150
150
# needs to inject contents in the HTML body.
151
151
#
152
- # Also + Rack::Cache+ won't work with streaming as it does not support
152
+ # Also <tt> Rack::Cache</tt> won't work with streaming as it does not support
153
153
# streaming bodies yet. Whenever streaming Cache-Control is automatically
154
154
# set to "no-cache".
155
155
#
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ module ActiveModel
34
34
#
35
35
# Most of the time though, you will want to include the JSON or XML
36
36
# serializations. Both of these modules automatically include the
37
- # + ActiveModel::Serialization+ module, so there is no need to explicitly
37
+ # <tt> ActiveModel::Serialization</tt> module, so there is no need to explicitly
38
38
# include it.
39
39
#
40
40
# A minimal implementation including XML and JSON would be:
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module Configuration
16
16
#
17
17
# config.middleware.use Magical::Unicorns
18
18
#
19
- # This will put the + Magical::Unicorns+ middleware on the end of the stack.
19
+ # This will put the <tt> Magical::Unicorns</tt> middleware on the end of the stack.
20
20
# You can use +insert_before+ if you wish to add a middleware before another:
21
21
#
22
22
# config.middleware.insert_before ActionDispatch::Head, Magical::Unicorns
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module Paths
8
8
# root.add "app/controllers", :eager_load => true
9
9
#
10
10
# The command above creates a new root object and add "app/controllers" as a path.
11
- # This means we can get a + Rails::Paths::Path+ object back like below:
11
+ # This means we can get a <tt> Rails::Paths::Path</tt> object back like below:
12
12
#
13
13
# path = root["app/controllers"]
14
14
# path.eager_load? # => true
You can’t perform that action at this time.
0 commit comments