Skip to content

Commit 3bbf21c

Browse files
Use verb form of "fallback"
"Fallback" is a noun, whereas "fall back" is a verb.
1 parent ff9b624 commit 3bbf21c

File tree

12 files changed

+13
-13
lines changed

12 files changed

+13
-13
lines changed

actionmailbox/test/dummy/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# Compress CSS using a preprocessor.
2727
# config.assets.css_compressor = :sass
2828

29-
# Do not fallback to assets pipeline if a precompiled asset is missed.
29+
# Do not fall back to assets pipeline if a precompiled asset is missed.
3030
config.assets.compile = false
3131

3232
# Enable serving of images, stylesheets, and JavaScripts from an asset server.

actionpack/lib/action_controller/metal/params_wrapper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module ActionController
7272
#
7373
# will try to check if +Admin::User+ or +User+ model exists, and use it to
7474
# determine the wrapper key respectively. If both models don't exist,
75-
# it will then fallback to use +user+ as the key.
75+
# it will then fall back to use +user+ as the key.
7676
#
7777
# To disable this functionality for a controller:
7878
#

actionpack/lib/action_controller/metal/redirecting.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def _compute_redirect_to_location(request, options) # :nodoc:
154154
public :_compute_redirect_to_location
155155

156156
# Verifies the passed +location+ is an internal URL that's safe to redirect to and returns it, or nil if not.
157-
# Useful to wrap a params provided redirect URL and fallback to an alternate URL to redirect to:
157+
# Useful to wrap a params provided redirect URL and fall back to an alternate URL to redirect to:
158158
#
159159
# redirect_to url_from(params[:redirect_url]) || root_url
160160
#

actionpack/lib/action_dispatch/http/mime_negotiation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def format=(extension)
118118
# Sets the \formats by string extensions. This differs from #format= by allowing you
119119
# to set multiple, ordered formats, which is useful when you want to have a fallback.
120120
#
121-
# In this example, the +:iphone+ format will be used if it's available, otherwise it'll fallback
121+
# In this example, the +:iphone+ format will be used if it's available, otherwise it'll fall back
122122
# to the +:html+ format.
123123
#
124124
# class ApplicationController < ActionController::Base

actionpack/lib/action_dispatch/http/request.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def request_method_symbol
201201
# more information.
202202
#
203203
# For debugging purposes, when called with arguments this method will
204-
# fallback to Object#method
204+
# fall back to Object#method
205205
def method(*args)
206206
if args.empty?
207207
@method ||= check_method(

actiontext/test/dummy/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# Compress CSS using a preprocessor.
2727
# config.assets.css_compressor = :sass
2828

29-
# Do not fallback to assets pipeline if a precompiled asset is missed.
29+
# Do not fall back to assets pipeline if a precompiled asset is missed.
3030
config.assets.compile = false
3131

3232
# Enable serving of images, stylesheets, and JavaScripts from an asset server.

actionview/lib/action_view/layouts.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ module ActionView
152152
# The template will be looked always in <tt>app/views/layouts/</tt> folder. But you can point
153153
# <tt>layouts</tt> folder direct also. <tt>layout "layouts/demo"</tt> is the same as <tt>layout "demo"</tt>.
154154
#
155-
# Setting the layout to +nil+ forces it to be looked up in the filesystem and fallbacks to the parent behavior if none exists.
155+
# Setting the layout to +nil+ forces it to be looked up in the filesystem and falls back to the parent behavior if none exists.
156156
# Setting it to +nil+ is useful to re-enable template lookup overriding a previous configuration set in the parent:
157157
#
158158
# class ApplicationController < ActionController::Base
@@ -164,7 +164,7 @@ module ActionView
164164
# end
165165
#
166166
# class CommentsController < ApplicationController
167-
# # Will search for "comments" layout and fallback "application" layout
167+
# # Will search for "comments" layout and fall back to "application" layout
168168
# layout nil
169169
# end
170170
#

activerecord/lib/active_record/associations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ def association_instance_set(name, association)
10501050
# query per addressable type.
10511051
# For example, if all the addressables are either of class Person or Company, then a total
10521052
# of 3 queries will be executed. The list of addressable types to load is determined on
1053-
# the back of the addresses loaded. This is not supported if Active Record has to fallback
1053+
# the back of the addresses loaded. This is not supported if Active Record has to fall back
10541054
# to the previous implementation of eager loading and will raise ActiveRecord::EagerLoadPolymorphicError.
10551055
# The reason is that the parent model's type is a column value so its corresponding table
10561056
# name cannot be put in the +FROM+/+JOIN+ clauses of that query.

activestorage/test/dummy/config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# Compress CSS using a preprocessor.
2727
# config.assets.css_compressor = :sass
2828

29-
# Do not fallback to assets pipeline if a precompiled asset is missed.
29+
# Do not fall back to assets pipeline if a precompiled asset is missed.
3030
config.assets.compile = false
3131

3232
# Enable serving of images, stylesheets, and JavaScripts from an asset server.

activesupport/lib/active_support/core_ext/string/indent.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def indent!(amount, indent_string = nil, indent_empty_lines = false)
2424
#
2525
# The second argument, +indent_string+, specifies which indent string to
2626
# use. The default is +nil+, which tells the method to make a guess by
27-
# peeking at the first indented line, and fallback to a space if there is
27+
# peeking at the first indented line, and fall back to a space if there is
2828
# none.
2929
#
3030
# " foo".indent(2) # => " foo"

0 commit comments

Comments
 (0)