Problem with render_then_call in Admin::Articles controller
Reported by Elliott Draper | May 2nd, 2008 @ 07:37 PM | in 0.5
There is an error thrown when running Feather under an adapter other than Mongrel, because the "render_then_call" method used to fire events after the create and update actions within the Admin::Articles controller requires streaming to be supported by the Rack adapter, and currently it seems that this is something that only Mongrel can support. Need to see what it would take to ensure this works under Thin, or if that's not feasible, at least put in a check so that if an adapter that doesn't support streaming is being used, it uses an alternate method to fire those events (it'll probably be slower than the deferred "render_then_call" way though).
Comments and changes to this ticket
-
Alexander Flatter June 24th, 2008 @ 03:49 PM
- Milestone cleared.
- Assigned user set to Elliott Draper
-
Elliott Draper June 25th, 2008 @ 04:56 PM
- State changed from new to open
- Tag set to admin, articles, feather, render_then_call
- Milestone set to 0.5
I'll re-test on the latest Merb, and fix up any issues with this when I get chance.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The core code for Feather, a lightweight Merb-based blogging engine.