Skip to content

greaterThan example with date should use Parse::Date #96

Merged
merged 1 commit into from Jul 10, 2013
+1 −1
2 features.md
@@ -322,7 +322,7 @@ Dates are useful in combination with the built-in createdAt and updatedAt fields
```ruby
game_score = Parse::Query.new("GameScore").tap do |q|
- g.greater_than("createdAt", Parse::Object.new(DateTime.now)) # query options explained in more detail later in this document
+ g.greater_than("createdAt", Parse::Date.new(DateTime.now)) # query options explained in more detail later in this document
end.get.first
```
Something went wrong with that request. Please try again.