Merge pull request #116 from DouglasSherk/master
Fix startup crash with Mongoid wrapper.
This commit is contained in:
commit
2b4db0001d
|
@ -15,8 +15,8 @@ module Impressionist
|
|||
: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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue