[Suggestion] Range queries
Reported by Sergei Yakovlev | May 3rd, 2008 @ 04:17 PM | in 0.9.0
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 changed from to 1.x
-
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 changed from to Adam French
-
Adam French May 20th, 2008 @ 09:26 PM
- → State changed from new to resolved
- → Milestone changed from 1.x to 0.9.0
specs say this works now:
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 »
