{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/paperclip/issues/2157","repository_url":"https://api.github.com/repos/thoughtbot/paperclip","labels_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/2157/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/2157/comments","events_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/2157/events","html_url":"https://github.com/thoughtbot/paperclip/issues/2157","id":144497791,"number":2157,"title":"paperclip 4.2.0 folder and file not saved on production","user":{"login":"u007","id":388813,"avatar_url":"https://avatars.githubusercontent.com/u/388813?v=3","gravatar_id":"","url":"https://api.github.com/users/u007","html_url":"https://github.com/u007","followers_url":"https://api.github.com/users/u007/followers","following_url":"https://api.github.com/users/u007/following{/other_user}","gists_url":"https://api.github.com/users/u007/gists{/gist_id}","starred_url":"https://api.github.com/users/u007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u007/subscriptions","organizations_url":"https://api.github.com/users/u007/orgs","repos_url":"https://api.github.com/users/u007/repos","events_url":"https://api.github.com/users/u007/events{/privacy}","received_events_url":"https://api.github.com/users/u007/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-30T08:08:45Z","updated_at":"2016-05-09T18:18:13Z","closed_at":"2016-05-09T18:18:13Z","body":"hi,\r\ni'm encountering a very weird error where my rails upload of pdf or image file stop working.\r\npreviously it was working:\r\npublic/system/spree/receipts/files/000/000/ *** / file.pdf**\r\n\r\nthe folder by id and file by name of file upoaded.\r\nbut my record is saved successfully even thou ive \r\nvalidates_attachment :file, presence: true\r\n\r\n:file is the field name of receipt\r\n\r\nwhat could be the issue?\r\n\r\nthanks"},"comment":{"url":"https://api.github.com/repos/thoughtbot/paperclip/issues/comments/217945138","html_url":"https://github.com/thoughtbot/paperclip/issues/2157#issuecomment-217945138","issue_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/2157","id":217945138,"user":{"login":"tute","id":54260,"avatar_url":"https://avatars.githubusercontent.com/u/54260?v=3","gravatar_id":"","url":"https://api.github.com/users/tute","html_url":"https://github.com/tute","followers_url":"https://api.github.com/users/tute/followers","following_url":"https://api.github.com/users/tute/following{/other_user}","gists_url":"https://api.github.com/users/tute/gists{/gist_id}","starred_url":"https://api.github.com/users/tute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tute/subscriptions","organizations_url":"https://api.github.com/users/tute/orgs","repos_url":"https://api.github.com/users/tute/repos","events_url":"https://api.github.com/users/tute/events{/privacy}","received_events_url":"https://api.github.com/users/tute/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T18:18:13Z","updated_at":"2016-05-09T18:18:13Z","body":"Thanks for posting your issue and answer! Glad it's now working for you."}}