#1 open
El Draper

Problem with render_then_call in Admin::Articles controller

Reported by El 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

    Alexander Flatter June 24th, 2008 @ 03:49 PM

    • → Assigned user changed from “” to “El Draper”
    • → Milestone cleared.
  • El Draper

    El Draper June 25th, 2008 @ 04:56 PM

    • → Tag changed from “” to “admin articles feather render_then_call”
    • → Milestone changed from “” to “0.5”
    • → State changed from “new” to “open”

    I'll re-test on the latest Merb, and fix up any issues with this when I get chance.

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

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.

People watching this ticket