aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods.rb
diff options
context:
space:
mode:
authorKuldeep Aggarwal <kd.engineer@yahoo.co.in>2014-05-14 23:26:42 +0530
committerKuldeep Aggarwal <kd.engineer@yahoo.co.in>2014-05-14 23:26:42 +0530
commit5fc9dff8831db49060ba7bb086dc85c92c7d2a18 (patch)
tree9421d13873ef17835816017ec49abb62a0d06fca /activerecord/lib/active_record/attribute_methods.rb
parent7b50d7f2496a84bec5aceb9e0fd1f1f9dcbdab88 (diff)
downloadrails-5fc9dff8831db49060ba7bb086dc85c92c7d2a18.tar.gz
rails-5fc9dff8831db49060ba7bb086dc85c92c7d2a18.tar.bz2
rails-5fc9dff8831db49060ba7bb086dc85c92c7d2a18.zip
[ci skip]add updated information, ref[#522c0fd]
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods.rb')
-rw-r--r--activerecord/lib/active_record/attribute_methods.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb
index 7fd7accc6b..8bd51dc71f 100644
--- a/activerecord/lib/active_record/attribute_methods.rb
+++ b/activerecord/lib/active_record/attribute_methods.rb
@@ -359,6 +359,8 @@ module ActiveRecord
# "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.
#
+ # Note: +:id+ is always present.
+ #
# Alias for the <tt>read_attribute</tt> method.
#
# class Person < ActiveRecord::Base