aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-18 22:21:15 -0800
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-18 22:21:15 -0800
commitf5a324e28ce67e7af8e11b9951b9f0b616b39b6b (patch)
treea8626514448febdf75c1df54e4274b37152b4541 /activerecord
parente63748cd3705896401ebac6e9f35bb9934d0547e (diff)
parented768ee5c1cb4e6debbd744b246388ac694daea7 (diff)
downloadrails-f5a324e28ce67e7af8e11b9951b9f0b616b39b6b.tar.gz
rails-f5a324e28ce67e7af8e11b9951b9f0b616b39b6b.tar.bz2
rails-f5a324e28ce67e7af8e11b9951b9f0b616b39b6b.zip
Merge pull request #13399 from ghiculescu/patch-1
Fix typo: data --> date [ci-skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/attribute_methods/read.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/read.rb b/activerecord/lib/active_record/attribute_methods/read.rb
index c152a246b5..d01e9aea59 100644
--- a/activerecord/lib/active_record/attribute_methods/read.rb
+++ b/activerecord/lib/active_record/attribute_methods/read.rb
@@ -102,7 +102,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
+ # it has been typecast (for example, "2004-12-12" in a date column is cast
# to a date object, like Date.new(2004, 12, 12)).
def read_attribute(attr_name)
# If it's cached, just return it