Open michael-myers opened 7 years ago
For certain modules, like urs/most_shared, the user can set one of the module options, and it should be treated as an integer.
For example, I think I am supposed to set it as such:
set MIN_SHARE_COUNT 3
It always seems to be treated as a string? When I run the module:
ArgumentError: comparison of Fixnum with String failed
Any time the option is a date/time, it seems to work fine. It's only when options are intended to be integers.
Thanks for reporting! This sounds like a pretty easy fix.
For certain modules, like urs/most_shared, the user can set one of the module options, and it should be treated as an integer.
For example, I think I am supposed to set it as such:
set MIN_SHARE_COUNT 3
It always seems to be treated as a string? When I run the module:
Any time the option is a date/time, it seems to work fine. It's only when options are intended to be integers.