aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-02-03 01:09:58 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2008-02-03 01:09:58 +0000
commit78253acb599102528498d2257a37361a39f850f7 (patch)
tree594f87416a188763ab7eb29fc1df7efeb71d6cce /activerecord/test/models
parent7fe2ad72790eeffcca382907ff63346981eb0f41 (diff)
downloadrails-78253acb599102528498d2257a37361a39f850f7.tar.gz
rails-78253acb599102528498d2257a37361a39f850f7.tar.bz2
rails-78253acb599102528498d2257a37361a39f850f7.zip
Revert r8742: remove has_many with :group option since it has sketchy sql support. Closes #10480.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/models')
-rw-r--r--activerecord/test/models/author.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/models/author.rb b/activerecord/test/models/author.rb
index 64e4d38114..593d77342e 100644
--- a/activerecord/test/models/author.rb
+++ b/activerecord/test/models/author.rb
@@ -20,7 +20,6 @@ class Author < ActiveRecord::Base
has_many :funky_comments, :through => :posts, :source => :comments
has_many :ordered_uniq_comments, :through => :posts, :source => :comments, :uniq => true, :order => 'comments.id'
has_many :ordered_uniq_comments_desc, :through => :posts, :source => :comments, :uniq => true, :order => 'comments.id DESC'
- has_many :grouped_comments, :through => :posts, :source => :comments, :group => 'comments.post_id'
has_many :special_posts
has_many :special_post_comments, :through => :special_posts, :source => :comments