Methods
A
F
G
W
Class Public methods
what_are_you()
# File rails/activerecord/test/fixtures/post.rb, line 44
def self.what_are_you
  'a post...'
end
Instance Public methods
add_joins_and_select()
# File rails/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
find_most_recent()
# File rails/activerecord/test/fixtures/post.rb, line 11
def find_most_recent
  find(:first, :order => "id DESC")
end
greeting()
# File rails/activerecord/test/fixtures/post.rb, line 3
def greeting
  "hello"
end