braintree / curator

Model and repository framework
MIT License
351 stars 39 forks source link

Add shared data store spec for range queries #14

Closed dogenpunk closed 12 years ago

dogenpunk commented 12 years ago

I noticed this weekend that repositories have 'find_by_created_at' and 'find_by_updated_at' methods that pass ranges to _find_by_index. I've added a spec for this and updated the mongodb backend.

dogenpunk commented 12 years ago

I'll be refactoring the _normalize_query method later. I just wanted to get the ball rolling with the spec.