Skip to content

Commit bfd5b59

Browse files
committed
Fix typos [ci-skip]
1 parent 462d7c7 commit bfd5b59

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

actionpack/lib/action_controller/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def self.without_modules(*modules)
266266
ParamsWrapper
267267
]
268268

269-
# Note: Documenting these severely degrates the performance of rdoc
269+
# Note: Documenting these severely degrades the performance of rdoc
270270
# :stopdoc:
271271
include AbstractController::Rendering
272272
include AbstractController::Translation

actionpack/lib/action_controller/metal/streaming.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ module Streaming
171171
# Call render_body if we are streaming instead of usual `render`.
172172
def _render_template(options)
173173
if options.delete(:stream)
174-
# It shoudn't be necessary to set this.
174+
# It shouldn't be necessary to set this.
175175
headers["cache-control"] ||= "no-cache"
176176

177177
view_renderer.render_body(view_context, options)

actionview/lib/action_view/template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def encode!
356356

357357
# This method is responsible for marking a template as having strict locals
358358
# which means the template can only accept the locals defined in a magic
359-
# comment. For example, if your template acceps the locals +title+ and
359+
# comment. For example, if your template accepts the locals +title+ and
360360
# +comment_count+, add the following to your template file:
361361
#
362362
# <%# locals: (title: "Default title", comment_count: 0) %>

activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ def select(sql, name = nil, binds = [], prepare: false, async: false, allow_retr
674674
raise AsynchronousQueryInsideTransactionError, "Asynchronous queries are not allowed inside transactions"
675675
end
676676

677-
# We make sure to run query transformers on the orignal thread
677+
# We make sure to run query transformers on the original thread
678678
sql = preprocess_query(sql)
679679
future_result = async.new(
680680
pool,

activestorage/app/controllers/concerns/active_storage/streaming.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def send_blob_stream(blob, disposition: nil) # :doc:
6565
expires_now
6666
head :not_found
6767
rescue
68-
# Status and caching headers are already set, but not commited.
68+
# Status and caching headers are already set, but not committed.
6969
# Change the status to 500 manually.
7070
expires_now
7171
head :internal_server_error

activesupport/lib/active_support/cache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def retrieve_pool_options(options)
286286
# <tt>coder: nil</tt> to avoid the overhead of safeguarding against
287287
# mutation.
288288
#
289-
# The +:coder+ option is mutally exclusive with the +:serializer+ and
289+
# The +:coder+ option is mutually exclusive with the +:serializer+ and
290290
# +:compressor+ options. Specifying them together will raise an
291291
# +ArgumentError+.
292292
#

guides/assets/stylesrc/components/_code-container.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dl dd .interstitial {
2323
padding: 0.75em !important;
2424
position: relative;
2525

26-
// Padding and spacing for LTR vs RTL langauge defaults
26+
// Padding and spacing for LTR vs RTL language defaults
2727
:where(html[dir="ltr"]) & { background-position: 10px 10px; padding-right: 1em !important; padding-left: 56px !important; }
2828
:where(html[dir="rtl"]) & { background-position: calc(100% - 10px) 10px; padding-right: 56px !important; padding-left: 1em !important; }
2929

@@ -97,4 +97,4 @@ dl dd .interstitial {
9797
&.kindle {
9898
padding-top: 1em !important;
9999
}
100-
} // .interstitial
100+
} // .interstitial

0 commit comments

Comments
 (0)