6 ms·
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.
by phillc 14y 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.
- awj 14y ago...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#extraction-of-features-to-gems http://edgeguides.rubyonrails.org/4_0_release_notes.html#ext...