Not intentional.
I didn't really think of this case, the test I removed showed a stupid
use case of rendering it with an inline.
I'm interesting in fixing this, but I'd rather not restore the hack in
ActionView. This logic should be in ActionController.
Please do ticket me and we'll eventually sort this out.
I can't think of a good clean way to extend the format picking logic
right now. I kind of feel like the XHR request should be saying "Give
me HTML plz!". Dunno if thats possible or a good idea.
On Dec 20, 9:53 am, "Mislav Marohnić" <
mislav.maroh...@gmail.com>
wrote:
> Josh Peek recently commitedhttp://
github.com/rails/rails/commit/148aff2097890a81e874a7c60bae5fa3..."Set