
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
active_admin_multi_upload
Advanced tools
This gem was built to work with Carrierwave & ActiveAdmin, and is based on the excellent jquery-fileupload-system.
ActiveAdminMultiUpload is a version of jquery-fileupload-ui built to work with nested objects and ActiveAdmin 1.0. It supports all major features including file-previews and progress bars, and has been built so as to have the simplest implentation possible. It has been tested with Rails 4.0.2 and Ruby 2.1.0
This gem relies on Carrierwave to work. If you are unfamiliar with Carrierwave then I recommend have a look through it before using this gem. You can also check out This Railscast by Ryan Bates to help you get started.
Add the gem to your Gemfile
gem "active_admin_multi_upload"
and then run bundle install
For the sake of simplification for all examples below I am going to use the sample data.
Picture
will be the model that has an uploader associated with its :image
attributeGallery
has many :pictures
You can also assume the @gallery
refers to the current gallery that we are creating/editing.
Substitute these with your own models and associations
In /admin/gallery.rb
add permit_params picture_ids: []
Within your form render the active_admin_multi_upload/upload_form
<%= f.inputs "Pictures" do %>
<%= render "active_admin_multi_upload/upload_form", :resource => @gallery, :association => "pictures", attribute: "image" %>
<% end %>
This project rocks and uses MIT-LICENSE.
FAQs
Unknown package
We found that active_admin_multi_upload demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.