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

Sourcecode
# File src/rails-1.1.5/activerecord/test/fixtures/post.rb, line 25
    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