This project is archived and is in readonly mode.

#2232 ✓invalid

default_scope inconsistent behavior

Reported by James | March 13th, 2009 @ 11:36 PM | in 3.x

I'm getting inconsistent results when using default_scope. What are its limitations? Right now I'm only trying to use it for default ordering, but it doesn't seem to work on models that use STI (the line appears to get completely ignored) -- and in a few other cases where there are a bunch of scopes chained together. I'm still trying to figure out the trend, but wanted to get a decent understanding of its design before I dig too deep.



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=""></a>

People watching this ticket