As Mike Kievsky mentioned, you can enable the underscore at the beginning of a partial name, but if you use .html, you will get an obsolescence warning at the end. An easier way is this:
render_to_string(:partial => "folder_name/_partial_name", :formats => [:html], :layout => false, :locals => {:a_needed_argument_for_the_partial => @arg})
source share