This project is archived and is in readonly mode.

#2257 ✓duplicate
Yaroslav Markin

default_scope with named_scope or scoped merge broken on 2.3

Reported by Yaroslav Markin | March 16th, 2009 @ 06:59 PM | in 2.x

Failing tests included, don't have a solution ATM.

Reference: #2193

Basically, if you got a default_scope with :order, named_scopes with different :order will NOT override it.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Pages