diff options
Diffstat (limited to 'activerecord/test/models/category.rb')
-rw-r--r-- | activerecord/test/models/category.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/models/category.rb b/activerecord/test/models/category.rb index 89d61b7e4e..f1d2e4805a 100644 --- a/activerecord/test/models/category.rb +++ b/activerecord/test/models/category.rb @@ -9,6 +9,9 @@ class Category < ActiveRecord::Base :association_foreign_key => 'post_id', :select => 'posts.*, 1 as correctness_marker') + has_and_belongs_to_many :post_with_conditions, + :class_name => 'Post', + :conditions => { :title => 'Yet Another Testing Title' } def self.what_are_you 'a category...' end |