PATCH Make named_scopes remember the current scope when defined

Diego Algorta Casamayou
2009-02-20T12:39:16Z

Hi there,

I''ve submitted a patch a few days ago and now it has 3 positive votes
on lighthouse. Would love some more reviews.
http://rails.lighthouseapp.com/projects/8994/tickets/1960-make-named_scopes-remember-the-current-scope-when-defined

The patch is about named_scopes not remembering previously setted
scopes (like from a has_many assoc) when executed.

Thanks