See the blog post at http://blog.lonestarsoftware.net/2007/03/09/active_resources-010-released/
Reading through the rails blogosphere last week, I read a post (which I can not find again) that suggested a completely different approach to AJAX use in rails apps. The idea was to create a Javascript proxy to the ActiveRecord models and allow AR operations to be called from the client.
I see this functionality broken into 3 major components: * Route generator which creates RESTful resources and nested resources based on a given AR model * Abstract controller providing basic CRUD and Finder functionality * Javascript proxy library interfacing to the controller API
Today's release of ActiveResources, version 0.1.0, provides the first bit of functionality (route generator). The plugin has 100% test coverage and passes heckling with no mutations remaining. It is in the very early stages, but I want to start gathering feedback on the interface and functionality so that this plugin may eventually be as useful as possible.
Tony Payne Lone Star Software Engineering Services http://lonestarsoftware.net/