MerbAdmin
MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data.
It currently offers the features listed here.
The status of the current build can be seen here.
Installtion
$ gem install merb-admin -s http://gemcutter.org
In your app, add the following dependency to config/dependencies.rb
:
dependency "merb-admin", "0.5.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
end
Usage
Start the server:
$ merb
You should now be able to administer your site at localhost:4000/admin.
Contact
Please report any problems you encounter to [email protected] or @sferik on Twitter.
WARNING
MerbAdmin does not implement any authorization scheme. Make sure to apply authorization logic before deploying to production!
Credits
Many thanks to:
-
Wilson Miner for contributing the stylesheets and javascripts from Django
-
Aaron Wheeler for contributing libraries from Merb AutoScaffold
-
Lori Holden for contributing the merb-pagination helper
-
Jacques Crocker for adding support for namespaced models
Also, thanks to beer.