3 ms·
There is slight benefit in readability for cases like find_by_name_and_role("Jack", "admin"), but other than that, no benefit whatsoever. In Rails 4.0, most dy
by xentronium 14y ago
There is slight benefit in readability for cases like find_by_name_and_role("Jack", "admin"), but other than that, no benefit whatsoever.
In Rails 4.0, most dynamic finders are deprecated and removed from the source into a separate gem.