Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Jul 10, 2013
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -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
```