{"id":19787220,"url":"https://github.com/logandk/paperclip_hacks","last_synced_at":"2026-06-09T03:38:03.774Z","repository":{"id":631441,"uuid":"272220","full_name":"logandk/paperclip_hacks","owner":"logandk","description":"An Evil Twin plugin for Paperclip that allows S3 authenticated-read URL's and easy clearing of attachments","archived":false,"fork":false,"pushed_at":"2009-08-08T17:08:40.000Z","size":76,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T03:40:30.879Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logandk.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-08-08T01:27:37.000Z","updated_at":"2023-03-05T01:57:14.000Z","dependencies_parsed_at":"2022-07-07T16:40:17.861Z","dependency_job_id":null,"html_url":"https://github.com/logandk/paperclip_hacks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logandk%2Fpaperclip_hacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logandk%2Fpaperclip_hacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logandk%2Fpaperclip_hacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logandk%2Fpaperclip_hacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logandk","download_url":"https://codeload.github.com/logandk/paperclip_hacks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241119810,"owners_count":19912962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T06:21:49.468Z","updated_at":"2026-06-09T03:37:58.722Z","avatar_url":"https://github.com/logandk.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"paperclip_hacks - Paperclip's Evil Twin\n=======================================\n\nThis is a Ruby on Rails plugin that adds some functionality to the [Paperclip](http://github.com/thoughtbot/paperclip/tree/master) plugin.\nIt adds the ability to create Amazon S3 authenticated URL's for attachments that are not public. Another feature is a new model attribute for\neasier deletion of attachments.\n\n\nInstallation\n============\n\nThis plugin requires that the [Paperclip](http://github.com/thoughtbot/paperclip/tree/master) plugin is installed.\n\nAs a Rails Plugin\n-----------------\n\nUse this to install as a plugin in a Ruby on Rails app:\n\n\t$ script/plugin install git://github.com/logandk/paperclip_hacks.git\n\n\nAs a Rails Plugin (using git submodules)\n----------------------------------------\n\nUse this if you prefer the idea of being able to easily switch between using edge or a tagged version:\n\n\t$ git submodule add git://github.com/logandk/paperclip_hacks.git vendor/plugins/paperclip_hacks\n\n\n\nUsage\n=====\n\nAfter installation, the new functionality is automatically added to your existing [Paperclip](http://github.com/thoughtbot/paperclip/tree/master) installation.\nWhere you would normally use this:\n\n\t\u003c%= image_tag @person.avatar.url %\u003e\n\t\nYou can use this method to generate an S3 authenticated URL:\n\n\t\u003c%= image_tag @person.avatar.authenticated_url %\u003e\n\t\nIf you wish to delete the avatar upon save, simply do this:\n\n\t@person.avatar_destroy = true\n\t\nThis method can be used to ease attachment deletion in forms:\n\n\t\u003c%= form.check_box :avatar_destroy, {}, \"true\" %\u003e\n\n\nCredits\n=======\nCopyright (c) 2009 Logan Raarup, released under the MIT license","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogandk%2Fpaperclip_hacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogandk%2Fpaperclip_hacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogandk%2Fpaperclip_hacks/lists"}