Colin Law wrote in post #975760:

> I am interested to know why, when you do not care what the rest of the
> row contains.
>

I have answered that question. I just want to quickly obtain one
representative row from each category.  I can get the same result by
iterating over an array of possible values and doing a
find_by_category(x).first on each.  I would prefer a less cumbersome
approach.

Do you know how to accomplish what I desire?  If so then I would
appreciate it if you would tell me.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to