From c61b10b62be9f57dd847242471b4a30da81f16d4 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Tue, 25 Apr 2006 05:49:14 +0000 Subject: Raise error when trying to add to a has_many :through association. Use the Join Model instead. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4265 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activerecord/CHANGELOG') diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 296070b865..89b23c1e96 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,10 @@ *SVN* +* Raise error when trying to add to a has_many :through association. [Rick] + + @post.tags << @tag # BAD + @post.taggings.create(:tag => @tag) # GOOD + * Allow all calculations to take the :include option, not just COUNT (closes #4840) [Rick] * Update inconsistent migrations documentation. #4683 [machomagna@gmail.com] -- cgit v1.2.3