Rails Data Browser plugin
Plugin details
Documentation
ruby script/plugin install http://svn.milk-it.net/open/data_browser
Add the routes
================
Add this to your config/routes.rb:
map.databrowser
or if you don't want that the DataBrowser's location be /databrowser, you can do:
map.databrowser :root => "db"
To change the base location of your DataBrowser to /db.
To use DataBrowser in development environment only, you can do:
map.databrowser if RAILS_ENV.eql?("development")
Configure your models
===================
By default, DataBrowser will map all your models, if you don't want this, you can configure DataBrowser to map only some models. For this, create and edit a file config/initializers/data_browser.rb:
DataBrowser.models = [User, Message] # add all the models you want to map here
Remember, if you wants that DataBrowser map all your models, you don't need the setup above.
Protect your DataBrowser
====================
If you wants to protect it with a username/password, add this to your initializer:
DataBrowser.protect "username", "password"
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 7 months ago

