Using :conditions will work but the problem is that you've just introduced duplication between the conditions and the named_scope. Anyway, here's my initial pass at trying to solve this:
https://gist.github.com/82c50486bc38b7d7c880 It only works for conditions at the moment which was enough for me; please do fork the gist and hack away! Cheers Luke --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

