{"action":"created","issue":{"url":"https://api.github.com/repos/xing/paperclip-storage-ftp/issues/26","labels_url":"https://api.github.com/repos/xing/paperclip-storage-ftp/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/xing/paperclip-storage-ftp/issues/26/comments","events_url":"https://api.github.com/repos/xing/paperclip-storage-ftp/issues/26/events","html_url":"https://github.com/xing/paperclip-storage-ftp/pull/26","id":64486636,"number":26,"title":"add an early return to not connect to the servers","user":{"login":"blindgaenger","id":14903,"avatar_url":"https://avatars.githubusercontent.com/u/14903?v=3","gravatar_id":"","url":"https://api.github.com/users/blindgaenger","html_url":"https://github.com/blindgaenger","followers_url":"https://api.github.com/users/blindgaenger/followers","following_url":"https://api.github.com/users/blindgaenger/following{/other_user}","gists_url":"https://api.github.com/users/blindgaenger/gists{/gist_id}","starred_url":"https://api.github.com/users/blindgaenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blindgaenger/subscriptions","organizations_url":"https://api.github.com/users/blindgaenger/orgs","repos_url":"https://api.github.com/users/blindgaenger/repos","events_url":"https://api.github.com/users/blindgaenger/events{/privacy}","received_events_url":"https://api.github.com/users/blindgaenger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-26T10:07:43Z","updated_at":"2015-03-29T07:46:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xing/paperclip-storage-ftp/pulls/26","html_url":"https://github.com/xing/paperclip-storage-ftp/pull/26","diff_url":"https://github.com/xing/paperclip-storage-ftp/pull/26.diff","patch_url":"https://github.com/xing/paperclip-storage-ftp/pull/26.patch"},"body":"… if there is nothing to write or delete\r\n\r\nThis is needed, because if the model doesn't have an image, we still rely on the asset servers."},"comment":{"url":"https://api.github.com/repos/xing/paperclip-storage-ftp/issues/comments/87367552","html_url":"https://github.com/xing/paperclip-storage-ftp/pull/26#issuecomment-87367552","issue_url":"https://api.github.com/repos/xing/paperclip-storage-ftp/issues/26","id":87367552,"user":{"login":"blindgaenger","id":14903,"avatar_url":"https://avatars.githubusercontent.com/u/14903?v=3","gravatar_id":"","url":"https://api.github.com/users/blindgaenger","html_url":"https://github.com/blindgaenger","followers_url":"https://api.github.com/users/blindgaenger/followers","following_url":"https://api.github.com/users/blindgaenger/following{/other_user}","gists_url":"https://api.github.com/users/blindgaenger/gists{/gist_id}","starred_url":"https://api.github.com/users/blindgaenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blindgaenger/subscriptions","organizations_url":"https://api.github.com/users/blindgaenger/orgs","repos_url":"https://api.github.com/users/blindgaenger/repos","events_url":"https://api.github.com/users/blindgaenger/events{/privacy}","received_events_url":"https://api.github.com/users/blindgaenger/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T07:46:24Z","updated_at":"2015-03-29T07:46:24Z","body":"Yep, exactly! I wanted to keep the `after_flush_writes` callback. And for consistency reasons I've added the block for writes and deletes in the same manner.\r\n\r\nSo should I use an early return in `flush_deletes`?"}}