On Apr 24, 5:34 am, vishal singh <[email protected]> wrote:
> Hi,
>
> Phone.find(:all, :conditions=>["area_code in ? and number in
> ?",(555,533),(533,12345678)])
>
That wouldn't work. That would match the phone
{area_code:'533',number:'533'}. I want to match only (555, 533) or
(533, 12345678).
--
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.