Removed to_s conversion in render_provider_partial method definition