Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 screenshots
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 merb-admin.gemspec
README.rdoc

MerbAdmin

MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data.

It currently offers the features listed here.

Take it for a test drive with sample data here.

The status of the latest build is available here.

Various code metrics are available here.

Screenshots

Installation

$ gem install merb-admin -s http://gemcutter.org

In your app, add the following dependency to config/dependencies.rb:

dependency "merb-admin", "0.7.6"

Add the following route to config/router.rb:

add_slice(:merb_admin, :path_prefix => "admin")

Then, run the following rake task:

$ rake slices:merb-admin:install

Configuration (optional)

If you're feeling crafty, you can set a couple configuration options in config/init.rb:

Merb::BootLoader.before_app_loads do
  Merb::Slices::config[:merb_admin][:app_name] = "My App"
  Merb::Slices::config[:merb_admin][:per_page] = 100
  Merb::Slices::config[:merb_admin][:excluded_models] = ["Top", "Secret"]
end

Usage

Start the server:

$ merb

You should now be able to administer your site at localhost:4000/admin.

WARNING

MerbAdmin does not implement any authorization scheme. Make sure to apply authorization logic before deploying to production!

Contributing

In the spirit of free software, people of all abilities are encouraged to help improve MerbAdmin.

There are many ways to contribute:

  • by reporting bugs

  • by suggesting new features

  • by writing documentation

  • by writing specifications

  • by writing code (no patch is too small: fix typos in comments or inconsistent whitespace)

  • by refactoring code

  • by reviewing patches

  • financially

All contributors will be added to the credits below and will receive the respect and gratitude of the author.

Contact

If you are interested in contributing to MerbAdmin, please contact Erik Michaels-Ober via email, GitHub, or Twitter.

Credits

Many thanks to:

Also, thanks to beer.

Something went wrong with that request. Please try again.