Skip to content
Save time and headaches, and create a more easily maintainable set of pages, with ActiveScaffold. ActiveScaffold handles all your CRUD (create, read, update, delete) user interface needs, leaving you more time to focus on more challenging (and interesting!) problems.
Ruby JavaScript HTML CSS Logos
Branch: master
Clone or download
swrobel and scambra Rename CHANGELOG to CHANGELOG.rdoc
Changelog appeared to be in rdoc format, so this will make it display nicely
Latest commit ddd9b87 Sep 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app fix data type for update column requests, so controller can use respo… Sep 5, 2019
bin fix rails 5.0 tests Apr 10, 2018
config parse month form_ui, display month and week Feb 8, 2018
gemfiles update to bundler 2 Apr 24, 2019
lib rubocop cleanup Sep 13, 2019
public
shoulda_macros refactor response to xml/json into common method, cleanup code with s… Mar 27, 2019
test fix test, value is cached for whole request Jul 3, 2019
vendor/assets fix update column rendering when record is deleted or update not auth… Oct 26, 2015
.autotest
.gitignore ignore tmp Jun 14, 2019
.gitlab-ci.yml fix gitlab test Apr 24, 2019
.rubocop.yml refactor response to xml/json into common method, cleanup code with s… Mar 27, 2019
.rubocop_todo.yml extract code to methods to reduce complexity, rubocop cleanup Mar 28, 2019
.simplecov use .simplecov for centralized SimpleCov config Dec 22, 2016
.travis.yml
CHANGELOG.rdoc Rename CHANGELOG to CHANGELOG.rdoc Sep 16, 2019
CONTRIBUTING.md sorry. fix maintainer name and email Nov 1, 2016
Gemfile fix testing with jruby Jun 14, 2019
Gemfile.lock
LICENSE.md update copyright year Mar 9, 2017
README.md Better instructions for rails >= 5.1 Nov 26, 2018
Rakefile
active_scaffold.gemspec require latest cow_proxy version Mar 29, 2019

README.md

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.2.0 is supported, ruby >= 2.3 required.

Branch Details

3-5-stable supports rails >= 4.0.x and ruby >= 2.0.0
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 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'

For rails >= 5.1, add jquery to application.js before rails-ujs (with jquery-rails), or load jquery in your layout before application.js using CDN (e.g. jquery-rails-cdn). You can replace rails-ujs with jquery_ujs, although rails-ujs should work (never load both).

//= require jquery

gem 'jquery-rails'

Run the following commands, for rails 4.2

bundle install
rails g active_scaffold:install
bundle exec rake db:create
rails g active_scaffold:resource Model [attrs]
bundle exec rake db:migrate

Or run the following commands, for rails 5

bundle install
rails g active_scaffold:install
rails db:create
rails g active_scaffold:resource Model [attrs]
rails db:migrate

Run the app and visit localhost:3000/<plural_model>

Threadsafe

Threadsafe can be enabled calling ActiveScaffold.threadsafe! in an initializer. It should be enabled on app start and it can't be disabled. Threadsafety is a new feature and not well tested yet.

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 (scott@caronsoftware.com), Richard White (rrwhite@gmail.com), Lance Ivy (lance@cainlevy.net), Ed Moss, Tim Harper and Sergio Cambra (sergio@programatica.es)

Uses DhtmlHistory by Brad Neuberg (bkn3@columbia.edu) 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)


A ruby translation project managed on Locale that's open to all!

Contributing to active_scaffold

  • Edit the translations directly on the active_scaffold project on Locale.
  • That's it!
  • The maintainer will then pull translations from the Locale project and push to Github.

Happy translating!

You can’t perform that action at this time.