diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-08-19 09:13:00 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-08-19 09:13:00 +0000 |
commit | 81b05fd9098c492bcf8651fe9042e5157d9a994b (patch) | |
tree | bb8328358e9be72e8cbb3edbba69a3f50c1170ee /activerecord/CHANGELOG | |
parent | a752fdb321d116c1f4fa0a61bd5d633575f0b09c (diff) | |
download | rails-81b05fd9098c492bcf8651fe9042e5157d9a994b.tar.gz rails-81b05fd9098c492bcf8651fe9042e5157d9a994b.tar.bz2 rails-81b05fd9098c492bcf8651fe9042e5157d9a994b.zip |
Pushing a record onto a has_many :through sets the association's foreign key to the associate's primary key. Closes #5815.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r-- | activerecord/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 3f24f91ca1..357f8a4d92 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Pushing a record onto a has_many :through sets the association's foreign key to the associate's primary key. #5815 [josh@hasmanythrough.com] + * PostgreSQL: simplify index introspection query. #5819 [stephen_purcell@yahoo.com] * Add records to has_many :through using <<, push, and concat by creating the association record. Raise if base or associate are new records since both ids are required to create the association. #build raises since you can't associate an unsaved record. #create! takes an attributes hash and creates the associated record and its association in a transaction. [Jeremy Kemper] |