I’m trying out the new RESTful bits in Edge Rails, and am having a bit
of trouble wrapping my brain around certain things. For instance, say I
have a page that is separated into sections with tabs at the top. I want
to replace divs on the page with RJS.
Now typically before I’d have a method on the controller that rendered
an RJS template to accomplish this.
I’m not sure how to go about doing this with the new CRUD paradigm. I
can’t seem to use a regular link_to_remote tag as I get a routes error,
and I’m not sure what the syntax is to call a non CRUD method with
link_to_remote passing in an id param.
Any help would be great.