scambra/devise_invitable — Issue #175: ArgumentError (comparison of String with 0 failed)
Author: TheOddLinguist
Created: 2012-02-23 08:18:22+00:00
State: open

Error's coming from:
https://github.com/scambra/devise_invitable/blob/master/lib/devise_invitable/inviter.rb#L18

In development (on a Mac), it seemed to work fine. Deployed to Heroku, and I'm getting this error. Do I have a configuration issue? Or perhaps that value should be cast to an integer before comparison? If so, I can submit a quick pull request if that makes it easier. Thanks either way.