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.
This branch (rails-3.2) on Github supports Rails 3.1 & 3.2, and is the current source of the 3.2.x line of gems. The master branch has dropped support for Rails 3.1
To get started with a new Rails project
Added to Gemfile
Run the following commands
bundle install bundle exec rake db:create rails g active_scaffold User name:string bundle exec rake db:migrate
//= require active_scaffold
Add the following line to /app/assets/stylesheets/application.css
*= require active_scaffold
Run the app and visit localhost:3000/teams
See Wiki for instructions on customising ActiveScaffold and to find the full API details.
jQuery 1.9 deprecates some methods that this branch still uses (NB: jQuery 1.9 is supported in the master branch). You'll therefore need to ensure you use jQuery 1.8. You can do this by fixing version in your Gemfile:
gem 'jquery-rails', '2.1.4'
active_scaffold_batch plugin gem (versions 3.2.x) require the master branch. Therefore if you wish to try using active_scaffold_batch with this branch, you'll need to fork the project and edit the runtime dependency in the gempsec file (use at your own discretion)
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@example.com), Richard White (firstname.lastname@example.org), Lance Ivy (email@example.com), Ed Moss, Tim Harper and Sergio Cambra (firstname.lastname@example.org)
Uses Paginator by Bruce Williams http://paginator.rubyforge.org/
Supports RecordSelect by Lance Ivy http://code.google.com/p/recordselect/
Released under the MIT license (included)