Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Make named scope #size behave identically to association proxy #size

#933

Calling #size on a named scope should have the same behaviour as calling it on an association proxy, but it currently doesn't. Fix & tests at http://github.com/tomstuart/rail... or attached patch.

Reported by Tom Stuart · August 29th, 2008 @ 03:25 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [7f179f8540ab92dbd9d3e650b465de5b694d93d4]) Make NamedScope#size behave identically to AssociationCollection#size. [#933 Make named scope #size behave identically to association proxy #size state:resolved]

    Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

    August 29th, 2008 @ 10:22 PM