Move render_to_body logic to return a spaced string to AC::Rendering
This seems to be required only when calling render :partial with an empty collection from a controller. This call happens to return no content, letting the response body empty, which means to Rails that it should go on and try to find a template to render based on the current action name, thus failing hard. Although tests keep all green, we need to check a better way to fix this.
Showing
想要评论请 注册 或 登录