Sha256: f61973001e986cf427221078ad21b03958d9b79689c63c20b7160dfefdbc5190

Contents?: true

Size: 1.28 KB

Versions: 6

Compression:

Stored size: 1.28 KB

Contents

# unknown? Admin Backend
`unknown-admin` is a basic framework for administration backend purposes. It is heavily based on Bootstrap and inherited_resources.
It is focused on the DRY principle throughout.

Through template inheritance there is hardly more to do, than creating an empty controller for your model.
It completely implements all CRUD methods and provides default views for them.
If you want, you can override a lot, of course.


Enjoy.

## Usage

### Rails

In your Gemfile:

### Add to your asset-block:

    gem 'bootstrap-sass'

### Add the `unknown-admin` gem

    gem 'unknown_admin'

## Installation

Run `bundle install` from the command line:

    bundle install

It is possible that v8 engine libraries need to be installed

    brew install v8

Also run the unknown_admin generator to install the asset files for the admin-backend

    rails generate unknown_admin:install

Add following line to one of your initializers, if you want to use strong parameters

    ActiveRecord::Base.send(:include, ActiveModel::ForbiddenAttributesProtection)

You can generate an admin controller by using... model must exist for this to work!

    rails g unknown_admin:controller ModelName

If you do want to add your routes manually, use this:

    rails g unknown_admin:controller ModelName --skip-routes

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
unknown_admin-0.1.5 README.md
unknown_admin-0.1.4 README.md
unknown_admin-0.1.3 README.md
unknown_admin-0.1.2 README.md
unknown_admin-0.1.1 README.md
unknown_admin-0.1.0 README.md