Merge pull request #44504 from sanjioh/fix-typos

Fix some typos
This commit is contained in:
Eileen M. Uchitelle 2022-02-23 16:58:06 -05:00 committed by GitHub
commit be4b9057bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -212,7 +212,7 @@ class BaseTest < ActiveSupport::TestCase
assert_equal("certificate.pdf", email.parts[1].filename)
end
# Defaults values
# Default values
test "uses default charset from class" do
with_default BaseMailer, charset: "US-ASCII" do
email = BaseMailer.welcome

View File

@ -76,7 +76,7 @@ module ActiveRecord
@record_timestamps
end
# TODO: Consider remaining this method, as it only conditionally extends keys, not always
# TODO: Consider renaming this method, as it only conditionally extends keys, not always
def keys_including_timestamps
@keys_including_timestamps ||= if record_timestamps?
keys + model.all_timestamp_attributes_in_model

View File

@ -7,7 +7,7 @@ Description:
or in $XDG_CONFIG_HOME/rails/railsrc if XDG_CONFIG_HOME is set.
Note that the arguments specified in the .railsrc file don't affect the
defaults values shown above in this help message.
default values shown above in this help message.
Example:
rails new ~/Code/Ruby/weblog