Order Option on has_* associations
Reported by Daniel Neighman (hassox) | April 2nd, 2008 @ 12:35 AM | in 0.9.0
On has_* assocaitions I'm really missing an :order clause.
This has so many places where it is needed and the current way of brining in everything and then sorting it is a bit nasty :(
Comments and changes to this ticket
-
Sam Smoot April 9th, 2008 @ 02:32 PM
- → Milestone changed from to 0.9.0
- → State changed from new to open
Agreed. This was the 0.2.5 behaviour. 0.9.0 will revert to it.
Just need to ensure extra options passed to an association declaration that are present in DataMapper::Query::OPTIONS are passed through.
-
Sam Smoot May 8th, 2008 @ 05:09 PM
- → Assigned user changed from to Sam Smoot
Assigning to myself to tackle after has_many:through.
-
Sindre Aarsaether May 19th, 2008 @ 06:53 PM
- → State changed from open to resolved
This has been added in changeset 1c7c5ba4...
Resolved
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
