This project is archived and is in readonly mode.

#2008 ✓invalid
nachocab (at gmail)

default_scope doesn't work with has_many << (insertion)

Reported by nachocab (at gmail) | February 18th, 2009 @ 06:22 PM | in 2.x

When adding items through the '<<' operator to a has_many relationship the default scoping with DESC ordering has no effect, and results are returned in the the order they were added. http://gist.github.com/66456

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>

People watching this ticket

Pages