Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

ActiveScaffold: AJAX-powered Rails scaffolding redux

By Peter Cooper / May 5, 2007


AjaxScaffold was an early attempt to implement Rails' scaffolding features in an AJAXy way, providing a single-page interface for showing, editing, deleting, and sorting items from your Rails models. ActiveScaffold is the newest implementation of the concept, making AjaxScaffold obsolete. It includes RESTful API support, sorting, search, pagination, automatic handling of ActiveRecord associations, along with the features you were used to from AjaxScaffold. It's also guaranteed to work on relatively new versions of Firefox, Internet Explorer, and Safari.


  1. Dan says:

    Its good to see the progress of AjaxScafford to ActiveScaffold, especially in how it supports the RESTful features now in Rails.

    I think we're going to see a trend where the client-side AJAX code sits on top of a RESTful API, rather than a special purpose API just for XHR. Client side code and remote apps should interact and consume the same data in the same way. It doesn't make sense to have the division common in less recent apps; build your RESTful API and you get both for free.

  2. Rebort says:

    It's a small thing -- but a screenshot depicting plain text passwords in the model/db makes me cringe.

  3. Cameron Singe says:

    Nice, i think if it does do all, it says, I think i would a real winner then, especially for prototyping and initial development. Also the passwords in plain text i think is just more for the demo more so then a real life situations.

  4. Richard White says:

    @Dan: I agree with you sentiment but I think what's really required for that to take place is a client side framework that can do the things we currently do on the server side (like template generation). There are things like JST, but they aren't integrated into a nice stack that includes prototype+scritaculous

    @Rebort: Good point, I should remove that column at least.

  5. Richard White says:

    We went 1.0 today Weee!

  6. Miko says:

    Here is a new ajax powered free chat,
    that can be integrated to WordPress.
    I hope this help :)

Other Posts to Enjoy

Twitter Mentions