Skip to content

Commit

Permalink
Merge pull request #55 from gauravmahajan31/fix-read-me
Browse files Browse the repository at this point in the history
Fix README
  • Loading branch information
johnnyshields committed Jun 22, 2015
2 parents 42c5583 + 2a9121c commit d2d997c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ByStar (by_*) allows you easily and reliably query ActiveRecord and Mongoid obje
```ruby
Post.by_year(2013) # all posts in 2013
Post.before(Date.today) # all posts for before today
Post.yesterday # all posts in 2013
Post.yesterday # all posts for yesterday
Post.between_times(Time.zone.now - 3.hours, # all posts in last 3 hours
Time.zone.now)
@post.next # next post after a given post
Expand Down

0 comments on commit d2d997c

Please sign in to comment.