Post by Peter Cooper on August 14th, 2006
How Rails’ Dynamic Finders Work

- Under The Hood of Rails’ ‘find’ Method
- The Rails Way by Obie Fernandez
- Final Entries in the Ruby Inside $100 + $15 Contest



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.

Click here to add on del.icio.us









August 16th, 2006 at 10:31 am
Those dynamic finders look great, i'll implement them soon i think. Maybe its time to buy a proper Rails Book :-)