{"action":"closed","issue":{"url":"https://api.github.com/repos/thoughtbot/paperclip/issues/1878","labels_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/1878/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/1878/comments","events_url":"https://api.github.com/repos/thoughtbot/paperclip/issues/1878/events","html_url":"https://github.com/thoughtbot/paperclip/issues/1878","id":81765004,"number":1878,"title":"How to store only URL of uploaded file","user":{"login":"HiteshSongra","id":6860099,"avatar_url":"https://avatars.githubusercontent.com/u/6860099?v=3","gravatar_id":"","url":"https://api.github.com/users/HiteshSongra","html_url":"https://github.com/HiteshSongra","followers_url":"https://api.github.com/users/HiteshSongra/followers","following_url":"https://api.github.com/users/HiteshSongra/following{/other_user}","gists_url":"https://api.github.com/users/HiteshSongra/gists{/gist_id}","starred_url":"https://api.github.com/users/HiteshSongra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiteshSongra/subscriptions","organizations_url":"https://api.github.com/users/HiteshSongra/orgs","repos_url":"https://api.github.com/users/HiteshSongra/repos","events_url":"https://api.github.com/users/HiteshSongra/events{/privacy}","received_events_url":"https://api.github.com/users/HiteshSongra/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thoughtbot/paperclip/labels/Question/Discussion","name":"Question/Discussion","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-28T05:17:07Z","updated_at":"2015-05-28T13:13:56Z","closed_at":"2015-05-28T13:13:56Z","body":"Hello Friends,\r\n\r\nI need a help on storing the URL of Uploaded image using paperclip on AWS S3.\r\nI don't want auto generate fields in my database, instead of them i just need URL of that field.\r\nI don't want to use any style for re-size the image.\r\n\r\nSuppose my field for image is \"image\", then paperclip add 4 fields to my table as follow\r\n - image_file_name\r\n - image_content_type\r\n - image_file_size\r\n - image_updated_at\r\n\r\nBut, instead of them, I just need \"image_url\" in my database. and whenever i delete record that uploaded image is also delete from AWS S3.\r\n\r\nis it possible to do this?\r\n\r\nPlease advise.\r\n\r\nThanks,\r\nHitesh"}}