Showing posts from May, 2012

Active Admin

Active Admin Documentation Active Admin is a framework for creating administration style interfaces. It abstracts common business application patterns to make it simple for developers to implement beautiful and elegant interfaces with very little effort.

An elegant DSL built for developer productivity. Get started with one line of code or customize the entire interface with the provided DSL.

# app/admin/posts.rbActiveAdmin.registerProductdo# Create sections on the index screenscope:all,:default=>truescope:availablescope:drafts# Filterable attributes on the index screenfilter:titlefilter:author,:as=>:select,:collection=>lambda{Product.authors}filter:pricefilter:created_at# Customize columns displayed on the index screen in the tableindexdocolumn:titlecolumn"Price",:sortable=>:pricedo|product|number_to_currencyproduct.priceenddefault_actionsendend
Documentation & SupportDocumentation & Guides: