On Wed, Oct 22, 2008 at 12:57 PM, Sven <[EMAIL PROTECTED]> wrote:

>
> Yes he did. I hadn't seen that one and didn't think of checking it.
> Ryan suggests exactly what you've proposed; I've tried it and it
> works. Thank you! This is much cleaner, and I get to keep using the
> named_scope instead of a method.


Just to be sure Ryan gets the credit, I checked his site and then modified
your code according to his example. :-)

Craig

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