{"action":"closed","issue":{"url":"https://api.github.com/repos/rossgeesman/sabjil/issues/22","labels_url":"https://api.github.com/repos/rossgeesman/sabjil/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/rossgeesman/sabjil/issues/22/comments","events_url":"https://api.github.com/repos/rossgeesman/sabjil/issues/22/events","html_url":"https://github.com/rossgeesman/sabjil/issues/22","id":61767746,"number":22,"title":"Invite user error","user":{"login":"seapy","id":421486,"avatar_url":"https://avatars.githubusercontent.com/u/421486?v=3","gravatar_id":"","url":"https://api.github.com/users/seapy","html_url":"https://github.com/seapy","followers_url":"https://api.github.com/users/seapy/followers","following_url":"https://api.github.com/users/seapy/following{/other_user}","gists_url":"https://api.github.com/users/seapy/gists{/gist_id}","starred_url":"https://api.github.com/users/seapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seapy/subscriptions","organizations_url":"https://api.github.com/users/seapy/orgs","repos_url":"https://api.github.com/users/seapy/repos","events_url":"https://api.github.com/users/seapy/events{/privacy}","received_events_url":"https://api.github.com/users/seapy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-15T07:36:20Z","updated_at":"2015-03-18T11:14:47Z","closed_at":"2015-03-18T11:14:47Z","body":"when invite other user this error occurred.\r\n\r\n```\r\nProcessing by InvitationsController#create as HTML\r\n  Parameters: {\"utf8\"=>\"✓\", \"authenticity_token\"=>\"xxxx\", \"email\"=>\"xxxx\", \"memo\"=>\"xxxx\", \"commit\"=>\"Send\"}\r\n  Logged in as user 1 (seapy)\r\n  Traffic level: 1.0\r\n  Rendered invitation_mailer/invitation.text.erb (6.4ms)\r\nCompleted 500 Internal Server Error in 55ms\r\nSyntaxError (/app/app/views/invitation_mailer/invitation.text.erb:12: syntax error, unexpected keyword_ensure, expecting ')'\r\n/app/app/views/invitation_mailer/invitation.text.erb:14: syntax error, unexpected keyword_end, expecting ')'):\r\n  app/views/invitation_mailer/invitation.text.erb:12: syntax error, unexpected keyword_ensure, expecting ')'\r\n  app/views/invitation_mailer/invitation.text.erb:14: syntax error, unexpected keyword_end, expecting ')'\r\n  app/mailers/invitation_mailer.rb:8:in `invitation'\r\n  app/models/invitation.rb:27:in `send_email'\r\n  app/controllers/invitations_controller.rb:40:in `create'\r\n```"}}