#322 √ resolved
Max Aller

Error reporting with invalid partial

Reported by Max Aller | May 14th, 2008 @ 09:17 PM | in 0.9.4

When executing the method 'partial' with a template that merb can't find, it gives the rather uninformative error 'nil is not a symbol'. A 'template not found', 'partial not found', or 'file not found' error would seem more appropriate.

This arose from the discovery that when specifying a folder that a partial resides in, one must also specify the resource's folder as well, i.e. partial 'myresource/subfolder/apartial', not 'subfolder/apartial'.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

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

People watching this ticket