add_joins_and_select() Ver: 2.0.0
From: Post Version 2.0.0
Comments

Sourcecode
# File /Users/nshb/svn/svn.inimit.com/railsmanual.com/www/trunk/src/rails-2.0.0/activerecord/test/fixtures/post.rb, line 26
    def add_joins_and_select
      find :all, :select => 'tags.*, authors.id as author_id', :include => false,
        :joins => 'left outer join posts on taggings.taggable_id = posts.id left outer join authors on posts.author_id = authors.id'
    end
Add New Note User Added Notes