mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Spelling/typo/grammatical fixes [ci skip]
spelling fix [ci skip] example to be consistent [ci skip] grammatical fix typo fixes [ci skip]
This commit is contained in:
parent
3873fc5c1c
commit
0750330941
8 changed files with 9 additions and 9 deletions
|
@ -312,7 +312,7 @@
|
||||||
|
|
||||||
* Stop converting empty arrays in `params` to `nil`.
|
* Stop converting empty arrays in `params` to `nil`.
|
||||||
|
|
||||||
This behaviour was introduced in response to CVE-2012-2660, CVE-2012-2694
|
This behavior was introduced in response to CVE-2012-2660, CVE-2012-2694
|
||||||
and CVE-2013-0155
|
and CVE-2013-0155
|
||||||
|
|
||||||
ActiveRecord now issues a safe query when passing an empty array into
|
ActiveRecord now issues a safe query when passing an empty array into
|
||||||
|
|
|
@ -40,7 +40,7 @@ module ActionController
|
||||||
# * <tt>:etag</tt>.
|
# * <tt>:etag</tt>.
|
||||||
# * <tt>:last_modified</tt>.
|
# * <tt>:last_modified</tt>.
|
||||||
# * <tt>:public</tt> By default the Cache-Control header is private, set this to
|
# * <tt>:public</tt> By default the Cache-Control header is private, set this to
|
||||||
# +true+ if you want your application to be cachable by other devices (proxy caches).
|
# +true+ if you want your application to be cacheable by other devices (proxy caches).
|
||||||
# * <tt>:template</tt> By default, the template digest for the current
|
# * <tt>:template</tt> By default, the template digest for the current
|
||||||
# controller/action is included in ETags. If the action renders a
|
# controller/action is included in ETags. If the action renders a
|
||||||
# different template, you can include its digest instead. If the action
|
# different template, you can include its digest instead. If the action
|
||||||
|
@ -111,7 +111,7 @@ module ActionController
|
||||||
# * <tt>:etag</tt>.
|
# * <tt>:etag</tt>.
|
||||||
# * <tt>:last_modified</tt>.
|
# * <tt>:last_modified</tt>.
|
||||||
# * <tt>:public</tt> By default the Cache-Control header is private, set this to
|
# * <tt>:public</tt> By default the Cache-Control header is private, set this to
|
||||||
# +true+ if you want your application to be cachable by other devices (proxy caches).
|
# +true+ if you want your application to be cacheable by other devices (proxy caches).
|
||||||
# * <tt>:template</tt> By default, the template digest for the current
|
# * <tt>:template</tt> By default, the template digest for the current
|
||||||
# controller/action is included in ETags. If the action renders a
|
# controller/action is included in ETags. If the action renders a
|
||||||
# different template, you can include its digest instead. If the action
|
# different template, you can include its digest instead. If the action
|
||||||
|
|
|
@ -44,7 +44,7 @@ module ActionController
|
||||||
# the output might look like this:
|
# the output might look like this:
|
||||||
#
|
#
|
||||||
# 23 Aug 11:30 | Carolina Railhawks Soccer Match
|
# 23 Aug 11:30 | Carolina Railhawks Soccer Match
|
||||||
# N/A | Carolina Railhaws Training Workshop
|
# N/A | Carolina Railhawks Training Workshop
|
||||||
#
|
#
|
||||||
module Helpers
|
module Helpers
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
|
|
|
@ -250,7 +250,7 @@ module ActionController
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# Returns the wrapper key which will be used to stored wrapped parameters.
|
# Returns the wrapper key which will be used to store wrapped parameters.
|
||||||
def _wrapper_key
|
def _wrapper_key
|
||||||
_wrapper_options.name
|
_wrapper_options.name
|
||||||
end
|
end
|
||||||
|
|
|
@ -44,7 +44,7 @@ module ActionController #:nodoc:
|
||||||
# during request.
|
# during request.
|
||||||
#
|
#
|
||||||
# We may want to disable CSRF protection for APIs since they are typically
|
# We may want to disable CSRF protection for APIs since they are typically
|
||||||
# designed to be state-less. That is, the requestion API client will handle
|
# designed to be state-less. That is, the request API client will handle
|
||||||
# the session for you instead of Rails.
|
# the session for you instead of Rails.
|
||||||
#
|
#
|
||||||
# The token parameter is named <tt>authenticity_token</tt> by default. The name and
|
# The token parameter is named <tt>authenticity_token</tt> by default. The name and
|
||||||
|
|
|
@ -274,7 +274,7 @@ module ActionDispatch # :nodoc:
|
||||||
end
|
end
|
||||||
|
|
||||||
# Turns the Response into a Rack-compatible array of the status, headers,
|
# Turns the Response into a Rack-compatible array of the status, headers,
|
||||||
# and body. Allows explict splatting:
|
# and body. Allows explicit splatting:
|
||||||
#
|
#
|
||||||
# status, headers, body = *response
|
# status, headers, body = *response
|
||||||
def to_a
|
def to_a
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
*Wojciech Wnętrzak*
|
*Wojciech Wnętrzak*
|
||||||
|
|
||||||
* Deprecate `ActiveModel::Errors#get`, `ActiveModel::Errors#set` and
|
* Deprecate `ActiveModel::Errors#get`, `ActiveModel::Errors#set` and
|
||||||
`ActiveModel::Errors#[]=` methods that have inconsistent behaviour.
|
`ActiveModel::Errors#[]=` methods that have inconsistent behavior.
|
||||||
|
|
||||||
*Wojciech Wnętrzak*
|
*Wojciech Wnętrzak*
|
||||||
|
|
||||||
|
|
|
@ -778,7 +778,7 @@ will be stopped and you will have to start it again.
|
||||||
|
|
||||||
### Settings
|
### Settings
|
||||||
|
|
||||||
`byebug` has a few available options to tweak its behaviour:
|
`byebug` has a few available options to tweak its behavior:
|
||||||
|
|
||||||
* `set autoreload`: Reload source code when changed (defaults: true).
|
* `set autoreload`: Reload source code when changed (defaults: true).
|
||||||
* `set autolist`: Execute `list` command on every breakpoint (defaults: true).
|
* `set autolist`: Execute `list` command on every breakpoint (defaults: true).
|
||||||
|
|
Loading…
Reference in a new issue