{"action":"closed","issue":{"url":"https://api.github.com/repos/plataformatec/mail_form/issues/58","repository_url":"https://api.github.com/repos/plataformatec/mail_form","labels_url":"https://api.github.com/repos/plataformatec/mail_form/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/plataformatec/mail_form/issues/58/comments","events_url":"https://api.github.com/repos/plataformatec/mail_form/issues/58/events","html_url":"https://github.com/plataformatec/mail_form/issues/58","id":299094679,"number":58,"title":"How do I send an email with attachment?","user":{"login":"fredmurakawa","id":6658153,"avatar_url":"https://avatars2.githubusercontent.com/u/6658153?v=4","gravatar_id":"","url":"https://api.github.com/users/fredmurakawa","html_url":"https://github.com/fredmurakawa","followers_url":"https://api.github.com/users/fredmurakawa/followers","following_url":"https://api.github.com/users/fredmurakawa/following{/other_user}","gists_url":"https://api.github.com/users/fredmurakawa/gists{/gist_id}","starred_url":"https://api.github.com/users/fredmurakawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredmurakawa/subscriptions","organizations_url":"https://api.github.com/users/fredmurakawa/orgs","repos_url":"https://api.github.com/users/fredmurakawa/repos","events_url":"https://api.github.com/users/fredmurakawa/events{/privacy}","received_events_url":"https://api.github.com/users/fredmurakawa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-21T19:19:35Z","updated_at":"2018-02-21T19:27:56Z","closed_at":"2018-02-21T19:27:56Z","author_association":"NONE","body":"I'm trying to send an email with attachment but it's not working.\r\n\r\nIn the form, I used:\r\n\r\n<%= simple_form_for @comprovante, html: { multipart: true }, defaults: { wrapper_html: { class: 'form-group' }, input_html: { class: 'form-control' } } do |f| %>\r\n       \r\n     <%= f.file_field :file %>\r\n\r\n<% end %>\r\n\r\nI receive the email but there is nothing attached.\r\n\r\n***Email`s Body***\r\nName: John\r\nEmail: test@email.com\r\nMessage: Testing email\r\nFile: #<ActionDispatch::Http::UploadedFile:0x00007fc9094557c0>"}}
{"actor":{"display_login":"rafaelfranca"}}