mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #13400 from nishant-cyro/docs
fix typos and grammar mistake [ci skip]
This commit is contained in:
commit
86dcb55588
2 changed files with 2 additions and 2 deletions
|
@ -330,7 +330,7 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
# Returns the value of the attribute identified by <tt>attr_name</tt> after it has been typecast (for example,
|
||||
# "2004-12-12" in a data column is cast to a date object, like Date.new(2004, 12, 12)). It raises
|
||||
# "2004-12-12" in a date column is cast to a date object, like Date.new(2004, 12, 12)). It raises
|
||||
# <tt>ActiveModel::MissingAttributeError</tt> if the identified attribute is missing.
|
||||
#
|
||||
# Alias for the <tt>read_attribute</tt> method.
|
||||
|
|
|
@ -33,7 +33,7 @@ class Thread
|
|||
_locals[key.to_sym] = value
|
||||
end
|
||||
|
||||
# Returns an an array of the names of the thread-local variables (as Symbols).
|
||||
# Returns an array of the names of the thread-local variables (as Symbols).
|
||||
#
|
||||
# thr = Thread.new do
|
||||
# Thread.current.thread_variable_set(:cat, 'meow')
|
||||
|
|
Loading…
Reference in a new issue