From 7b64c374799aec826a82065cbce74529c79ed2ac Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Tue, 14 Aug 2007 08:53:15 +0000 Subject: [PATCH] Add forgotten changelog entry git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/CHANGELOG | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 19733ae2a6..5df8900e7b 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,12 @@ *SVN* +* Change the implementation of ActiveRecord's attribute reader and writer methods [nzkoz] + - Generate Reader and Writer methods which cache attribute values in hashes. This is to avoid repeatedly parsing the same date or integer columns. + - Change exception raised when users use find with :select then try to access a skipped column. Plugins could override missing_attribute() to lazily load the columns. + - Move method definition to the class, instead of the instance + - Always generate the readers, writers and predicate methods. + + * Perform a deep #dup on query cache results so that modifying activerecord attributes does not modify the cached attributes. [Rick] # Ensure that has_many :through associations use a count query instead of loading the target when #size is called. Closes #8800 [lifo] -- GitLab