search for: render_def

Displaying 2 results from an estimated 2 matches for "render_def".

2007 Sep 11
4
Problem returning a Proc
I''m just playing with a recent Merb trunk (-r590). All the specs pass, apart from 2 pending. Now, the README says: "if you return a Proc object from your action, it will be called and the return value sent to the client." However this doesn''t seem to work with the following test controller: class Hello < Application def world res = "Hello world from
2007 Oct 09
0
mutex
...ller? I could switch to sequel if that made a difference, as I see a lot of reference to AR when talking about the lock. Or, is there a better way? I''ve just started looking briefly and see that I can return a Proc object and let mongrel take care of that in a thread for me, or run the render_deferred command which I''m just guessing is doing the same thing. Would it be smarter for me to starting looking at something in that direction? Thanks for any insight! Dusty Doris