Active Record Dynamic Finders
Coming from a more procedural PHP background the first thing that baffled me was dynamic finders. I assumed that the dynamic methods were not dynamic but rather created at some point in the whole process. I couldn’t understand how they just appeared or how you could reverse the order of the fields, etc.
As I delved into Ruby I began to understand the process and now with Josh Susser’s latest article, any last myths that were still hanging have been cleared up. If you are curious at all, give it a read.