This project is archived and is in readonly mode.

#1667 ✓resolved
CancelProfileIsBroken

Named Scope test should not assume SQL order

Reported by CancelProfileIsBroken | December 30th, 2008 @ 01:17 AM | in 2.x

Attached patch fixes test_should_use_where_in_query_for_named_scope, which assumed that two different SQL SELECT statements would return records in the same order, even without an ORDER BY. This was failing on sqlite2 (only). With this patch, AR tests for named scope pass across all database types we ship.

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

Attachments

Referenced by

Pages