Currently the path for partials is constructed using string interpolation as follows:
"#{path}/_#{partial_name}"
This patch makes a change to use File.join to construct the path:
File.join(path, "_#{partial_name}")
This patch also has the side effect of allowing partials to again be stored directly in app/views (app/views/_partial.erb) and call them with render :partial => '/partial'
This is poor style, but did work in previous versions.
Partials should always go in a subdirectory of app/views If you have common partials stored directly in app/views you should move them to a subdirectory such as app/views/shared (app/views/shared/_partial.erb) and render them with render :partial => 'shared/partial'