Sorry I forgot to link to the ticket:
https://rails.lighthouseapp.com/projects/8994/tickets/1812-default_scope-cant-take-procs

And the patch is here:
https://rails.lighthouseapp.com/projects/8994/tickets/1812/a/721344/allow-default_scope-to-accept-a-proc.patch

Or you can pull from my Rails fork here: http://github.com/seven1m/rails

-Tim

On Oct 19, 9:47 am, Tim Morgan <[email protected]> wrote:
> Can I get someone to review this very small patch (only 5 lines, plus
> tests of course) to allow default_scope to accept a proc?
>
> It applies to 3-0-stable and to master, and passes tests on both
> branches.
>
> -Tim

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en.

Reply via email to