{"action":"created","issue":{"url":"https://api.github.com/repos/jcypret/hashid-rails/issues/14","repository_url":"https://api.github.com/repos/jcypret/hashid-rails","labels_url":"https://api.github.com/repos/jcypret/hashid-rails/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/jcypret/hashid-rails/issues/14/comments","events_url":"https://api.github.com/repos/jcypret/hashid-rails/issues/14/events","html_url":"https://github.com/jcypret/hashid-rails/issues/14","id":139091879,"number":14,"title":"Hashids::InputError: unable to unhash","user":{"login":"DannyBen","id":2405099,"avatar_url":"https://avatars.githubusercontent.com/u/2405099?v=3","gravatar_id":"","url":"https://api.github.com/users/DannyBen","html_url":"https://github.com/DannyBen","followers_url":"https://api.github.com/users/DannyBen/followers","following_url":"https://api.github.com/users/DannyBen/following{/other_user}","gists_url":"https://api.github.com/users/DannyBen/gists{/gist_id}","starred_url":"https://api.github.com/users/DannyBen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DannyBen/subscriptions","organizations_url":"https://api.github.com/users/DannyBen/orgs","repos_url":"https://api.github.com/users/DannyBen/repos","events_url":"https://api.github.com/users/DannyBen/events{/privacy}","received_events_url":"https://api.github.com/users/DannyBen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jcypret/hashid-rails/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-07T20:57:34Z","updated_at":"2016-03-11T14:06:20Z","closed_at":null,"body":"Hey,\r\n\r\nTrying to see if I can drop this beautiful gem on my project without making too many (or any if possible) changes to it.\r\n\r\nAt first look, things seemed to be working immediately after adding the gem with zero change.\r\n\r\nOnly when running my tests I get to a point where this error appears:\r\n\r\n```ruby\r\nHashids::InputError: unable to unhash\r\n```\r\n\r\nThis happens when I try an `update` operation on a controller that operates on a special case model. Not sure it is related though, but its the only obvious difference between this failing test and other passing tests.\r\n\r\nIt is a `PeopleController` that updates a `User` model.\r\n\r\nThe error of course originates from the `hashids` gem, specifically from [this line][1], but to my understanding it is simply getting an invalid input.\r\n\r\nAny thought as to why this happens and maybe a fix?\r\n\r\nEDIT:\r\n~~The immediate suspect is [this line with table_name][2]~~ (seems not...)\r\n\r\n[1]: https://github.com/peterhellberg/hashids.rb/blob/a8c3b9cf53468bce4cf61a50699f063ea0fe064b/lib/hashids.rb#L184\r\n[2]: https://github.com/jcypret/hashid-rails/blob/master/lib/hashid/rails.rb#L41"},"comment":{"url":"https://api.github.com/repos/jcypret/hashid-rails/issues/comments/195378664","html_url":"https://github.com/jcypret/hashid-rails/issues/14#issuecomment-195378664","issue_url":"https://api.github.com/repos/jcypret/hashid-rails/issues/14","id":195378664,"user":{"login":"DannyBen","id":2405099,"avatar_url":"https://avatars.githubusercontent.com/u/2405099?v=3","gravatar_id":"","url":"https://api.github.com/users/DannyBen","html_url":"https://github.com/DannyBen","followers_url":"https://api.github.com/users/DannyBen/followers","following_url":"https://api.github.com/users/DannyBen/following{/other_user}","gists_url":"https://api.github.com/users/DannyBen/gists{/gist_id}","starred_url":"https://api.github.com/users/DannyBen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DannyBen/subscriptions","organizations_url":"https://api.github.com/users/DannyBen/orgs","repos_url":"https://api.github.com/users/DannyBen/repos","events_url":"https://api.github.com/users/DannyBen/events{/privacy}","received_events_url":"https://api.github.com/users/DannyBen/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T14:06:20Z","updated_at":"2016-03-11T14:06:20Z","body":"Sweet! I will install later this weekend and test as well."}}