module ViewComponent::RenderToStringMonkeyPatch

def render_to_string(options = {}, args = {})

:nodoc:
def render_to_string(options = {}, args = {})
  if options.respond_to?(:render_in)
    options.render_in(view_context)
  else
    super
  end
end