This project is archived and is in readonly mode.

#2444 ✓invalid
Neil Middleton

Missing partial does not return an error in development

Reported by Neil Middleton | April 7th, 2009 @ 05:38 PM | in 2.x

If I call a partial (via render :partial) from a layout and the partial file is missing, no error is returned via the view, or the logs. You need to be in the debugger trying to call the partial manually to see the relevant ActionView::MissingTemplate Exception.

This should really return an error to the user via the logs or directly into the browser.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Pages