How Rails’ Dynamic Finders Work

Post by Peter Cooper

Permanent Link  |   book mark How Rails’ Dynamic Finders Work in del.icio.usClick here to add on del.icio.us

Findby

Josh Susser explains exactly how Rails' dynamic finders work (things like User.find_by_name and User.find_all_by_city). It's a good introduction to some of the simpler abstractions taking place under the hood in Rails, and is an ideal guide if you're thinking of creating similar abstractions of your own.

One Response to “How Rails’ Dynamic Finders Work”

  1. #1
    Daniel Cloutier Says:

    Those dynamic finders look great, i’ll implement them soon i think. Maybe its time to buy a proper Rails Book :-)