{"action":"created","issue":{"url":"https://api.github.com/repos/plataformatec/devise/issues/3530","labels_url":"https://api.github.com/repos/plataformatec/devise/issues/3530/labels{/name}","comments_url":"https://api.github.com/repos/plataformatec/devise/issues/3530/comments","events_url":"https://api.github.com/repos/plataformatec/devise/issues/3530/events","html_url":"https://github.com/plataformatec/devise/pull/3530","id":63690931,"number":3530,"title":"Update validatable.rb","user":{"login":"beviz","id":1106312,"avatar_url":"https://avatars.githubusercontent.com/u/1106312?v=3","gravatar_id":"","url":"https://api.github.com/users/beviz","html_url":"https://github.com/beviz","followers_url":"https://api.github.com/users/beviz/followers","following_url":"https://api.github.com/users/beviz/following{/other_user}","gists_url":"https://api.github.com/users/beviz/gists{/gist_id}","starred_url":"https://api.github.com/users/beviz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beviz/subscriptions","organizations_url":"https://api.github.com/users/beviz/orgs","repos_url":"https://api.github.com/users/beviz/repos","events_url":"https://api.github.com/users/beviz/events{/privacy}","received_events_url":"https://api.github.com/users/beviz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-23T10:38:30Z","updated_at":"2015-03-24T02:12:55Z","closed_at":"2015-03-24T01:03:15Z","pull_request":{"url":"https://api.github.com/repos/plataformatec/devise/pulls/3530","html_url":"https://github.com/plataformatec/devise/pull/3530","diff_url":"https://github.com/plataformatec/devise/pull/3530.diff","patch_url":"https://github.com/plataformatec/devise/pull/3530.patch"},"body":"Before validate password length should check whether the password is required, otherwise, if `database_authenticatable` was not set, it will throw an exception \"undefined method password..\"."},"comment":{"url":"https://api.github.com/repos/plataformatec/devise/issues/comments/85295080","html_url":"https://github.com/plataformatec/devise/pull/3530#issuecomment-85295080","issue_url":"https://api.github.com/repos/plataformatec/devise/issues/3530","id":85295080,"user":{"login":"beviz","id":1106312,"avatar_url":"https://avatars.githubusercontent.com/u/1106312?v=3","gravatar_id":"","url":"https://api.github.com/users/beviz","html_url":"https://github.com/beviz","followers_url":"https://api.github.com/users/beviz/followers","following_url":"https://api.github.com/users/beviz/following{/other_user}","gists_url":"https://api.github.com/users/beviz/gists{/gist_id}","starred_url":"https://api.github.com/users/beviz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beviz/subscriptions","organizations_url":"https://api.github.com/users/beviz/orgs","repos_url":"https://api.github.com/users/beviz/repos","events_url":"https://api.github.com/users/beviz/events{/privacy}","received_events_url":"https://api.github.com/users/beviz/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T02:12:55Z","updated_at":"2015-03-24T02:12:55Z","body":"How about `if: -> { respond_to?(:password) }`"}}