Check out http://github.com/ezmobius/ez-where/tree/master. Most recent change activity is Feb 2009 - Rails 2.2. Looks to be the same Ezra and it might be a better place to start from.
On Jul 28, 3:39 pm, Craig White <[email protected]> wrote: > I am learning new, was comfortable with 1.2.x > > I always used Ezra's ez-where plugin for finds, especially complex finds > but I see it hasn't been updated since 2006 so I am real leery to start > with it now on a new project in rails 2.3.2 > > What I want to do is rather complex and ez-where handled this for me > simply. I want to... > > @debtor = Debtortrans.find(:all, > :conditions => ["trandate > ? and trandate < ? AND taxauthid = ?", > �...@per1, @per2, "24"], > :joins => 'LEFT JOIN debtortranstaxes ON > debtortranstaxes.debtortransid=id') > > but I actually want > > trandate > ? AND trandate < ? AND ( > taxauthid = ? > or > taxauthid = ? > or > taxauthid = ? > or > taxauthid = ? ) > > Is there a modern plug-in for complex finds like this - ala ez-where or > how would I construct this in a single 'conditions' statement if I go > without plugin? > > Craig > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

