Skip to content
bbenezech edited this page Jan 17, 2012 · 11 revisions

Create a reusable action ActionName

rails plugin new rails_admin_<action_name> -m https://raw.github.com/gist/1621146/ --skip-gemfile --skip-bundle -T -O -S -J --full

Add it to your project

# Gemfile

# if uploaded to github with a valid .gemspec (remove TODOS and change owner credentials)
gem 'rails_admin_<action_name>', :git => 'git://github.com/<username>/rails_admin_<action_name>.git'
# or in development mode
gem 'rails_admin_<action_name>', :path => '../rails_admin_<action_name>'

Development documentation

See the Base class your ActionName will inherit from:

https://github.com/sferik/rails_admin/blob/master/lib/rails_admin/config/actions/base.rb

Clone this wiki locally