Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 2.85 KB

README.md

File metadata and controls

69 lines (48 loc) · 2.85 KB

Overview

Build status Code Climate Test Coverage Dependency Status Gem Version Inline docs License: MIT

ActiveScaffold provides a quick and powerful user interfaces for CRUD (create, read, update, delete) operations for Rails applications. It offers additonal features including searching, pagination & layout control. Rails >= 4.0.5 is supported, ruby >= 2.0 supported, although it should work with ruby 1.9.3, it's too old and not tested.

Branch Details

3-4-stable supports rails >= 3.2.x and ruby >= 1.9.3 3-3-stable supports rails >= 3.2.x and ruby >= 1.8 rails-3.2 branch on Github supports Rails 3.1 & 3.2, and is the current source of the 3.2.x line of gems.

Quick Start

To get started with a new Rails project

Added to Gemfile

gem 'active_scaffold'

Run the following commands

bundle install
bundle exec rake db:create
rails g active_scaffold User name:string
bundle exec rake db:migrate

Add the following line to app/assets/javascripts/application.js

//= require active_scaffold

Add the following line to /app/assets/stylesheets/application.css

*= require active_scaffold

Run the app and visit localhost:3000/users

Configuration

See Wiki for instructions on customising ActiveScaffold and to find the full API details.

Credits

ActiveScaffold grew out of a project named Ajaxscaffold dating back to 2006. It has had numerous contributors including:

ActiveScaffold Gem/Plugin by Scott Rutherford ([email protected]), Richard White ([email protected]), Lance Ivy ([email protected]), Ed Moss, Tim Harper and Sergio Cambra ([email protected])

Uses DhtmlHistory by Brad Neuberg ([email protected]) http://codinginparadise.org

Uses Querystring by Adam Vandenberg http://adamv.com/dev/javascript/querystring

Uses Paginator by Bruce Williams http://paginator.rubyforge.org/

Supports RecordSelect by Lance Ivy and Sergio Cambra http://github.com/scambra/recordselect/

License

Released under the MIT license (included)