mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
commit
be4b9057bb
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue