No commit activity in last 3 years
No release in over 3 years
Allow user duplication of ActiveAdmin resources using the power of the Amoeba gem. Resource duplication can be performed by either persisting the model and its relations, or by pre-filling a new resource's form fields.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.2.18
~> 1.6
>= 0
>= 0

Runtime

>= 2.0.0
 Project Readme

ActiveAdmin::Duplicatable

Gem Version

Description

Simple duplication of ActiveAdmin resources.

Allow user duplication of ActiveAdmin resources through the power of the Amoeba gem. Resource duplication can be performed by either persisting the model and its relations, or by pre-filling a new resource's form fields with defaults.

Usage

Add duplication functionality to a Post resource. See Duplicatable for documentation.

ActiveAdmin.register Post do
  duplicatable
end

Installation

Add this line to your application's Gemfile:

gem 'active_admin-duplicatable'

And then execute:

$ bundle

Contributing

  1. Fork it ( https://github.com/zorab47/active_admin-duplicatable/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Versioning

Follows Semantic Versioning 2.0.0