What's the big advantage of Person.find_all_by_name_and_age("Joe", 15)
over db.query("select * from people where name = ? and age = ?", "Joe", 15); The latter is much easier to write in the library and you retain all the flexibility of sql itself if needed.