New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

paperclip-removable

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paperclip-removable

  • 0.5.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= Paperclip removable plugin

Allows removal of previously uploaded files.

== Installation

Just add gem paperclip-removable to your Gemfile.

Alternatively, run sudo gem install paperclip-removable and add require 'paperclip_removable' to your app.

== Example

In the model, you can specify:

class User < ActiveRecord::Base has_attached_file :photo, :removable => true attr_accessible :photo, :remove_photo end

In the form you can then have:

= f.inputs do = f.input :photo = f.input :remove_photo, :as => :boolean if f.object.photo?

FAQs

Package last updated on 22 Mar 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc