Tim Lucas
2005-May-24 01:02 UTC
find_all deprecated? (was: find_all get a vector or a object.)
On 24/05/2005, at 7:30 AM, Tobias Lutke wrote:> By the way, find_all is deprecated. use .find(:all) instead.What about dynamic finders, such as: find_by_name() find_all_by_name() I find it strange on one hand using find_all_by_name, but then having to use find(:all) instead of find_all. Sure, if you want to take advantage of eager loading then having to use find(:all) is acceptable... but for the simplest case? - tim lucas