From 2bdaff4a4e9a3813b4e4e24ff3d3b0aa53b088fc Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 6 Jun 2005 21:10:59 +0000 Subject: Added a second parameter to the build and create method for has_one that controls whether the existing association should be replaced (which means nullifying its foreign key as well). By default this is true, but false can be passed to prevent it. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/CHANGELOG | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord/CHANGELOG') diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 7a6f18986e..98773a282f 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Added a second parameter to the build and create method for has_one that controls whether the existing association should be replaced (which means nullifying its foreign key as well). By default this is true, but false can be passed to prevent it. + * Using transactional fixtures now causes the data to be loaded only once. * Added fixture accessor methods that can be used when instantiated fixtures are disabled. -- cgit v1.2.3