{"action":"closed","issue":{"url":"https://api.github.com/repos/scambra/devise_invitable/issues/630","repository_url":"https://api.github.com/repos/scambra/devise_invitable","labels_url":"https://api.github.com/repos/scambra/devise_invitable/issues/630/labels{/name}","comments_url":"https://api.github.com/repos/scambra/devise_invitable/issues/630/comments","events_url":"https://api.github.com/repos/scambra/devise_invitable/issues/630/events","html_url":"https://github.com/scambra/devise_invitable/issues/630","id":134111486,"number":630,"title":"user.invitation_due_at doesn't return nil even if config.invite_for = 0","user":{"login":"guillewu","id":1770464,"avatar_url":"https://avatars.githubusercontent.com/u/1770464?v=3","gravatar_id":"","url":"https://api.github.com/users/guillewu","html_url":"https://github.com/guillewu","followers_url":"https://api.github.com/users/guillewu/followers","following_url":"https://api.github.com/users/guillewu/following{/other_user}","gists_url":"https://api.github.com/users/guillewu/gists{/gist_id}","starred_url":"https://api.github.com/users/guillewu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillewu/subscriptions","organizations_url":"https://api.github.com/users/guillewu/orgs","repos_url":"https://api.github.com/users/guillewu/repos","events_url":"https://api.github.com/users/guillewu/events{/privacy}","received_events_url":"https://api.github.com/users/guillewu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-16T22:12:56Z","updated_at":"2016-02-17T15:14:38Z","closed_at":"2016-02-17T15:14:38Z","body":"Hi all,\r\n\r\nI'm having a problem where the invitation email is always displaying a due date, even though `config.invite_for` is 0.\r\n\r\nAny ideas why this might be happening? `User.invite_for` returns 0, but `user.invitation_due_at` is returning a date instead of nil.\r\n\r\nThanks!"}}