search for: c87fcf9e

Displaying 1 result from an estimated 1 matches for "c87fcf9e".

2006 Jul 20
3
Does Find also tell you a count of the array size?
When I use @persons = Find(:all) (for example) and I get back an array of persons, is there an easy way to tell how many rows the find returned? I have been using Persons.count(:all) but you would think Find knows how many it returned -- is the count/array size stored somewhere in the ret array? -- Posted via http://www.ruby-forum.com/.