on 2006-03-05 18:10
on 2006-03-05 18:16
hmmm, after thinking a bit more on this I guess partials would be a good thing for solving my problem. But if there is a better way, please let me know.
on 2006-03-06 16:58
On 3/5/06, last resort <firstname.lastname@example.org> wrote: > http://lists.rubyonrails.org/mailman/listinfo/rails > Yes, partials are the way I handled this. The advantages I see are that the HTML stays in the view, logic in the controller, and you can unit-test a partial. Trust rails & prototype to correctly handle the AJAX plumbing :) The only disadvantage that I found was naming 4 partials on a page that results from multple AJAX handlers. --