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.
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 >= 5.2.0 and Rails < 6.1 is supported, ruby >= 2.5 required.
3-6-stable supports rails >= 4.2.x and ruby >= 2.3.0
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.
To get started with a new Rails project
Added to Gemfile
For rails >= 5.1, add jquery-rails to Gemfile, and install generator will jquery to application.js before rails-ujs. Also it's possible to 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).
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/
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.
See Wiki for instructions on customising ActiveScaffold and to find the full API details.
ActiveScaffold grew out of a project named Ajaxscaffold dating back to 2006. It has had numerous contributors including:
Uses DhtmlHistory by Brad Neuberg ([email protected]) http://codinginparadise.org
Uses Paginator by Bruce Williams http://paginator.rubyforge.org/
Supports RecordSelect by Lance Ivy and Sergio Cambra http://github.com/scambra/recordselect/
Released under the MIT license (included)
A ruby translation project managed on Locale that's open to all!