render :update doesn't support extra options such as:
render :update, :status => 404 do |page|
# ...
end
However, documentation said that extra options are supported:
"All renders take the :status and :location options and turn them into headers. They can even be used together:"
- http://api.rubyonrails.org/classes/ActionController/Base.html
When fixing this we found (thx Xavier Noria! :) an issue with the render chain in ActionController::Benchmarking.
the ActionController::Benchmarking#render_with_benchmark signature is diferent to ActionController::Base#render and was consuming the { :status => 404 } hash and breaking the chain not providing it to the actual render.
This patch also fixes #9360