Hacker News new | ask | show | jobs
by phillc 4911 days ago
If you are scanning your code base for find_by_'s, make sure to look at your find_all_by_'s as well if you have them.
1 comments

...and while you're at it, rewrite those into some other form. Everything but the find_by_* dynamic finders is going to be deprecated soon anyways.

http://edgeguides.rubyonrails.org/4_0_release_notes.html#ext...