Skip to content
vhochstein edited this page Feb 18, 2012 · 5 revisions

How to Configure this Fork with Rails 3

A guide is at
for rails 3.0: http://vhochstein.wordpress.com/2010/08/28/setup-activescaffold-rails-3/

for rails 3.1 and 3.2: http://vhochstein.wordpress.com/2011/07/09/activescaffold-and-rails-3-1/

If you are in a hurry, you may try one-step installation (does nt work currently)

HAML USERS: Issue

Relation to activescaffold/activescaffold

As you can see in the network graph this fork started to exist round about June 2010. Unfortunetly, the code differences are too big to merge them from time to time, which means that new feature and bugfixes are not shared!

In case you are effected by a bug which is already fixed in activescaffold/activescaffold, it would be great if you could send me a pull request. Thanks a lot in advance

Renamed Attributes

  • update_column => update_columns (because you may specify more than one column)

Changed Methods

  • added record parameter to member/record based actionlink authorization methods in controller, eg. *update_authorized?(record = nil)*
  • column overrides method name *without* controller_name

Restful Scaffolding

Old syntax

map.resources :users, :active_scaffold => true

New syntax:

resources :users do 
    as_routes 
    # If you use RecordSelect plugin, also add
    #     collection do
    #       get :browse
    #     end
    #     member do
    #       post :select
    #     end
end

New Features

There are quite a few new features in this fork, let me introduce some of them:

* Rails 3 support * JQuery Support * How to manage date/time columns in forms with JQuery * Actionlink response and ignore * Trees with Ancestry Plugin * One Step Installation * Field Search: human_conditions * List: Automatically open nested link * Empower user to configure list * Field Search: default search condition * Action Grouping * Batch Update * Batch Destroy * Refresh List after CRUD * RecordSelect * ActiveScaffold Gemified * CanCan bridge * ActiveScaffold Single Table Inheritance (STI) * Sunspot Solr Search integration * ActiveScaffold actions_for_association_links supporting list * Big Screen touch devices * Per Request action columns configuration * Activescaffold load events for unobtrusive javascript * to be continued

How-To

* FieldSearch Column Overrides * Unobtrusive Javascript by Example * render :super

Plugins/Gems

* activescaffold_config_list * activescaffold_export * activescaffold_sortable * recordselect * render_component * activescaffold_batch

This is a forked repository. Have a look at "activescaffold's active_scaffold wiki":/activescaffold/active_scaffold for more information.