On Sep 18, 6:53 pm, surge <[EMAIL PROTECTED]> wrote:
> Erol, that's so cool. I like your solution a lot.
>
> What about this one:
>
> I allow users to filter tickets based on the module (I call them
> components) they report on. The list of components comes in
> as an array. Here's what I do.
>

Why aren't you just doing Ticket.find :all, :conditions =>
{:component_id => params[:component_ids}} ?

Fred
--~--~---------~--~----~------------~-------~--~----~
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