
Order Option on has_* associations
Reported by Daniel Neighman (hassox) | April 2nd, 2008 @ 12:35 AM
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 cleared.
- 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 set 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 Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »