Methods
A
F
L
Class Public methods
all_johns()
# File activerecord/test/models/developer.rb, line 61
def self.all_johns
  self.with_exclusive_scope :find => where(:name => 'John') do
    self.all
  end
end
Instance Public methods
find_least_recent()
# File activerecord/test/models/developer.rb, line 39
def find_least_recent
  find(:first, :order => "id ASC")
end
find_most_recent()
# File activerecord/test/models/developer.rb, line 17
def find_most_recent
  find(:first, :order => "id DESC")
end
log=(message)
# File activerecord/test/models/developer.rb, line 57
def log=(message)
  audit_logs.build :message => message
end