1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix typos and grammar mistake [ci skip]

This commit is contained in:
nishant-cyro 2013-12-19 12:02:01 +05:30
parent 12affbe491
commit 517caa85c9
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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')