aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAlex Ghiculescu <alexghiculescu@gmail.com>2013-12-19 16:13:18 +1000
committerAlex Ghiculescu <alexghiculescu@gmail.com>2013-12-19 16:13:18 +1000
commited768ee5c1cb4e6debbd744b246388ac694daea7 (patch)
treea8626514448febdf75c1df54e4274b37152b4541 /activerecord
parente63748cd3705896401ebac6e9f35bb9934d0547e (diff)
downloadrails-ed768ee5c1cb4e6debbd744b246388ac694daea7.tar.gz
rails-ed768ee5c1cb4e6debbd744b246388ac694daea7.tar.bz2
rails-ed768ee5c1cb4e6debbd744b246388ac694daea7.zip
Fix typo: data --> date
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