
[Suggestion] Range queries
Reported by Sergei Yakovlev | May 8th, 2008 @ 05:32 PM
Allow passing ranges as values for query parameters. Examples:
User.all(:age => 20..25)
User.all(:age.not => 20..25)
User.all(:name => 'abc'..'def')
User.all(:longitude => 45.246..46.52, :latitude => 34.15..34.971)
Comments and changes to this ticket
-
Sam Smoot May 8th, 2008 @ 05:38 PM
I believe someone on IRC is working on this. Don't recall who... We'll see if it gets built-in in the next few days.
-
Sam Smoot May 8th, 2008 @ 11:27 PM
- Milestone cleared.
-
Sam Smoot May 8th, 2008 @ 11:40 PM
Should work we think, but un-specced: http://github.com/sam/dm-core/co...
We'll work on adding the specs.
-
Adam French May 10th, 2008 @ 03:39 PM
- Assigned user set to Adam French
-
Adam French May 20th, 2008 @ 09:26 PM
- Milestone cleared.
- State changed from new to resolved
specs say this works now:
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 »
People watching this ticket
- Nobody is watching this ticket.