diff options
author | miloops <miloops@gmail.com> | 2008-09-11 19:14:06 -0300 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-09-12 12:27:03 +0200 |
commit | 646b5bfa61f8e803d98bd1557c53ea961cc6b16d (patch) | |
tree | a193f7d5b50ab36f0860daf834775a956a8940e0 /activerecord/test/models/category.rb | |
parent | a37c5ae961366e3d693991b51d0830d40ae37e08 (diff) | |
download | rails-646b5bfa61f8e803d98bd1557c53ea961cc6b16d.tar.gz rails-646b5bfa61f8e803d98bd1557c53ea961cc6b16d.tar.bz2 rails-646b5bfa61f8e803d98bd1557c53ea961cc6b16d.zip |
Use select and change test so new tests can work on postgres.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
Diffstat (limited to 'activerecord/test/models/category.rb')
-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 a06dd78011..4e9d247a4e 100644 --- a/activerecord/test/models/category.rb +++ b/activerecord/test/models/category.rb @@ -14,7 +14,7 @@ class Category < ActiveRecord::Base :class_name => 'Post', :conditions => { :title => 'Yet Another Testing Title' } - has_and_belongs_to_many :posts_gruoped_by_title, :class_name => "Post", :group => "title" + has_and_belongs_to_many :posts_gruoped_by_title, :class_name => "Post", :group => "title", :select => "title" def self.what_are_you 'a category...' |