I'm very positively surprised with Ruby on Rails. Every time I believe it can't astonish me any further, it does again. Check this excerpt from AWDWR (Agile Web Development with Rails): def self.authenticate(name, password) user = self.find_by_name(name)