{"action":"opened","issue":{"url":"https://api.github.com/repos/elabs/refile/issues/134","labels_url":"https://api.github.com/repos/elabs/refile/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/elabs/refile/issues/134/comments","events_url":"https://api.github.com/repos/elabs/refile/issues/134/events","html_url":"https://github.com/elabs/refile/issues/134","id":55756560,"number":134,"title":"Unable to change existing file","user":{"login":"hellojere","id":773501,"avatar_url":"https://avatars.githubusercontent.com/u/773501?v=3","gravatar_id":"","url":"https://api.github.com/users/hellojere","html_url":"https://github.com/hellojere","followers_url":"https://api.github.com/users/hellojere/followers","following_url":"https://api.github.com/users/hellojere/following{/other_user}","gists_url":"https://api.github.com/users/hellojere/gists{/gist_id}","starred_url":"https://api.github.com/users/hellojere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellojere/subscriptions","organizations_url":"https://api.github.com/users/hellojere/orgs","repos_url":"https://api.github.com/users/hellojere/repos","events_url":"https://api.github.com/users/hellojere/events{/privacy}","received_events_url":"https://api.github.com/users/hellojere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-28T13:35:32Z","updated_at":"2015-01-28T13:35:32Z","closed_at":null,"body":"Refile works flawlessly except I'm unable to change the file for an existing record. It's failing on normal and direct upload in both development and production environment with the latter using Amazon S3. \r\n\r\nLog reveals the correct parameters being sent in the update request and they should be white listed correctly in the controller, as the original upload works. \r\n\r\nAlso the Javascript callbacks are returning the correct image when using the direct upload, but the original file I'm trying to replace just keeps on coming back after saving the whole form. Also the correct parameters seem to be added to the hidden field. \r\n\r\nAnyone else experiencing this? \r\n\r\nGemfile.lock:     \r\n>\r\n    refile (0.5.3)\r\n      mime-types\r\n      sinatra (~> 1.4.5)"}}