Livin’ On The Edge
I’m working on a new Rails project for ISCABBS, and had the occasion to need to use the Rails RJS templates, as described in the Rails Recipes beta book. Of course, RJS templates aren’t in Rails 1.0, so I had to run a “rake freeze_edge” to get the Edge Rails stuff. Once I did that, the RJS stuff was on. I’m impressed with it so far – it looks like an easy way to render multiple JavaScript events from a single controller.
The project itself is going well – I managed to bang out most of it last weekend. It’s probably about 80% feature complete, but pretty slow, so I need to go in and find where the slowdown is. I’m rendering a couple of partial templates and, according to the debugging information found in script/server, rendering the page is taking up nearly all of the processing time. I probably need to look into some sort of fragment caching to help that.
Still, it’s been a fun project to work on. Rails has really helped me get useful stuff running quickly.



