From 5fc9dff8831db49060ba7bb086dc85c92c7d2a18 Mon Sep 17 00:00:00 2001 From: Kuldeep Aggarwal Date: Wed, 14 May 2014 23:26:42 +0530 Subject: [ci skip]add updated information, ref[#522c0fd] --- activerecord/lib/active_record/attribute_methods.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord/lib/active_record/attribute_methods.rb') 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 # ActiveModel::MissingAttributeError if the identified attribute is missing. # + # Note: +:id+ is always present. + # # Alias for the read_attribute method. # # class Person < ActiveRecord::Base -- cgit v1.2.3