Skip to content

Commit

Permalink
Merge pull request #116 from DouglasSherk/master
Browse files Browse the repository at this point in the history
Fix startup crash with Mongoid wrapper.
  • Loading branch information
acnalesso committed Sep 30, 2013
2 parents 6f74e58 + 483ea9e commit 2b4db00
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def impressionist_count(options={})
:start_date=>nil,
:end_date=>Time.now)

imps = options[:start_date].blank?
? impressions :
imps = options[:start_date].blank? ?
impressions :
impressions.
between(created_at: options[:start_date]..options[:end_date])

Expand Down

0 comments on commit 2b4db00

Please sign in to comment.