I’ve read most of the Ruby/Rails books, but I’m struggling with this: How do you combine simple AJAX UI actions with RESTful controllers?
In my app, I want to keep all controllers REST-compliant. On a form, I want one select dropdown filter the options in another select. So I read several ajax ways I can do that. But they all seem to point to hitting an action on the controller, which would be outside of REST (the action wouldn’t be INDEX, NEW, CREATE, SHOW, EDIT, UPDATE, DESTROY). I see in the e-book RJS Templates for Rails how to build RJS-based site, but is an Ajaxed-out site just going to have controllers with more than 7 actions, or am I missing something?
-Ryan