{"action":"created","issue":{"url":"https://api.github.com/repos/twilio/authy-ruby/issues/45","repository_url":"https://api.github.com/repos/twilio/authy-ruby","labels_url":"https://api.github.com/repos/twilio/authy-ruby/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/twilio/authy-ruby/issues/45/comments","events_url":"https://api.github.com/repos/twilio/authy-ruby/issues/45/events","html_url":"https://github.com/twilio/authy-ruby/issues/45","id":391816113,"node_id":"MDU6SXNzdWUzOTE4MTYxMTM=","number":45,"title":"unknown attribute 'authy_id' for Host/member/owner .","user":{"login":"mr3abd","id":17132856,"node_id":"MDQ6VXNlcjE3MTMyODU2","avatar_url":"https://avatars2.githubusercontent.com/u/17132856?v=4","gravatar_id":"","url":"https://api.github.com/users/mr3abd","html_url":"https://github.com/mr3abd","followers_url":"https://api.github.com/users/mr3abd/followers","following_url":"https://api.github.com/users/mr3abd/following{/other_user}","gists_url":"https://api.github.com/users/mr3abd/gists{/gist_id}","starred_url":"https://api.github.com/users/mr3abd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mr3abd/subscriptions","organizations_url":"https://api.github.com/users/mr3abd/orgs","repos_url":"https://api.github.com/users/mr3abd/repos","events_url":"https://api.github.com/users/mr3abd/events{/privacy}","received_events_url":"https://api.github.com/users/mr3abd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-12-17T17:30:11Z","updated_at":"2018-12-19T21:33:28Z","closed_at":null,"author_association":"NONE","body":"Hello, \r\nwhen trying to use devise and write that in a controller to verify User with SMS \r\n\r\n```\r\n`  def create\r\n\r\n    super do |host|\r\n   authy = Authy::API.register_user(\r\n     email: host.email,\r\n     cellphone: host.phone_number,\r\n     country_code: host.country_code\r\n   )\r\n   host.update(authy_id: authy.id)\r\n end\r\n  end`\r\n```\r\n\r\n\r\nand I show when trying to make an account \r\nunknown attribute 'authy_id' for Host .\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/twilio/authy-ruby/issues/comments/448751460","html_url":"https://github.com/twilio/authy-ruby/issues/45#issuecomment-448751460","issue_url":"https://api.github.com/repos/twilio/authy-ruby/issues/45","id":448751460,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODc1MTQ2MA==","user":{"login":"philnash","id":31462,"node_id":"MDQ6VXNlcjMxNDYy","avatar_url":"https://avatars3.githubusercontent.com/u/31462?v=4","gravatar_id":"","url":"https://api.github.com/users/philnash","html_url":"https://github.com/philnash","followers_url":"https://api.github.com/users/philnash/followers","following_url":"https://api.github.com/users/philnash/following{/other_user}","gists_url":"https://api.github.com/users/philnash/gists{/gist_id}","starred_url":"https://api.github.com/users/philnash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philnash/subscriptions","organizations_url":"https://api.github.com/users/philnash/orgs","repos_url":"https://api.github.com/users/philnash/repos","events_url":"https://api.github.com/users/philnash/events{/privacy}","received_events_url":"https://api.github.com/users/philnash/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T21:33:28Z","updated_at":"2018-12-19T21:33:28Z","author_association":"NONE","body":"To redirect after sign up you should implement your own `RegistrationsController` and override the `after_sign_up_path_for` method to return the path you want to redirect to. Like\r\n\r\n```ruby\r\nclass RegistrationsController < Devise::RegistrationsController\r\n  protected\r\n\r\n  def after_sign_up_path_for(resource)\r\n    phone_verifications_path\r\n  end\r\nend\r\n```"}}
{"actor":{"display_login":"philnash"}}