diff options
author | Ben Somers <ben.somers@bookrenter.com> | 2010-07-07 10:05:58 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-07-08 00:26:25 +0200 |
commit | de51cbccf8c9d4e59a128ca8dca8c42d8d7c4dc9 (patch) | |
tree | 191c62ff10672d505e4ef0e20694a0488e44020c /activerecord/test/models | |
parent | c58e7a71b52a38885352768c74b7563395566bb6 (diff) | |
download | rails-de51cbccf8c9d4e59a128ca8dca8c42d8d7c4dc9.tar.gz rails-de51cbccf8c9d4e59a128ca8dca8c42d8d7c4dc9.tar.bz2 rails-de51cbccf8c9d4e59a128ca8dca8c42d8d7c4dc9.zip |
Fixed gruoped_by_title spelling [#5063 state:committed]
Signed-off-by: Xavier Noria <fxn@hashref.com>
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/category.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/category.rb b/activerecord/test/models/category.rb index 5efce6aaa6..48415846dd 100644 --- a/activerecord/test/models/category.rb +++ b/activerecord/test/models/category.rb @@ -15,7 +15,7 @@ class Category < ActiveRecord::Base :conditions => { :title => 'Yet Another Testing Title' } has_and_belongs_to_many :popular_grouped_posts, :class_name => "Post", :group => "posts.type", :having => "sum(comments.post_id) > 2", :include => :comments - has_and_belongs_to_many :posts_gruoped_by_title, :class_name => "Post", :group => "title", :select => "title" + has_and_belongs_to_many :posts_grouped_by_title, :class_name => "Post", :group => "title", :select => "title" def self.what_are_you 'a category...' |