diff options
author | nishant-cyro <nishant.tuteja@vinsol.com> | 2013-12-19 12:02:01 +0530 |
---|---|---|
committer | nishant-cyro <nishant.tuteja@vinsol.com> | 2013-12-19 12:02:01 +0530 |
commit | 517caa85c97b0addba0d27fffa03aec40f70ff1f (patch) | |
tree | 878f3e54749b3bf775bdb915abbcad0ed1e7e349 | |
parent | 12affbe491e4ad7056c7bc1555cf223129cb2745 (diff) | |
download | rails-517caa85c97b0addba0d27fffa03aec40f70ff1f.tar.gz rails-517caa85c97b0addba0d27fffa03aec40f70ff1f.tar.bz2 rails-517caa85c97b0addba0d27fffa03aec40f70ff1f.zip |
fix typos and grammar mistake [ci skip]
-rw-r--r-- | activerecord/lib/active_record/attribute_methods.rb | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/core_ext/thread.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb index 217fc52dd5..73761520f7 100644 --- a/activerecord/lib/active_record/attribute_methods.rb +++ b/activerecord/lib/active_record/attribute_methods.rb @@ -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. diff --git a/activesupport/lib/active_support/core_ext/thread.rb b/activesupport/lib/active_support/core_ext/thread.rb index d5a420301a..ac1ffa4128 100644 --- a/activesupport/lib/active_support/core_ext/thread.rb +++ b/activesupport/lib/active_support/core_ext/thread.rb @@ -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') |