renamed render_partial to render_to_string