MJFuzz wrote:
> I'm racking my brain with this and I know there's an easy way to do
> this.
> 
> I have a Model.find result array. I need to check to see if a value
> exists in that array result. Array.include? always returns false I
> assume cause its an array of objects. So how do I search the resulting
> array??

Why do you need to?  Normally you should let the DB do things like this.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to