Find with conditions
Account.find :all, :conditions => "keyword = 'ruby'" Account.find :all, :conditions => { :keyword => 'ruby' } Account.find :all, :conditions => [ "keyword = ?", 'ruby' ] These statements will all generate the following WHERE clause: SELECT * FROM accounts WHERE keyword = 'ruby'