sendgrid_toolkit icon indicating copy to clipboard operation
sendgrid_toolkit copied to clipboard

Get "no implicit conversion of string to integer" error with stats.retrieve, but NOT with stats.retrieve_aggregate

Open baughmann opened this issue 10 years ago • 0 comments

Using something like:

@stats_today = statistics.retrieve :days => 1

Returns

no implicit conversion of String into Integer

However:

@stats_last_week = statistics.retrieve_aggregate :days => 1

Seems to work.

baughmann avatar Jul 08 '15 22:07 baughmann