# Re: Odd layout error - no delegate template

**URL:** <https://www.ruby-forum.com/t/re-odd-layout-error-no-delegate-template/66044>\
**Category:** Rails\
**Created:** [August 23, 2006, 12:30am UTC](https://www.ruby-forum.com/t/re-odd-layout-error-no-delegate-template/66044 "2006-08-23T00:30:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [August 23, 2006, 12:30am UTC](https://www.ruby-forum.com/t/re-odd-layout-error-no-delegate-template/66044/1 "2006-08-23T00:30:05Z")

</div>

> It _was_ just working yesterday, too.
> 
> If I have no layout directives, and I have an  
> application.rhtml, how is this error possible? The log file  
> wasn’t of any help, btw.
> 
> Thanks,
> 
> Dan

It seems that simply renaming the controller template from foo.rhtml to  
foo.bak only confused Rails, instead of making Rails ignore it. Odd.

Well, whatever. It’s working now. 🙂 Sorry for the noise.

Regards,

Dan

This communication is the property of Qwest and may contain confidential  
or  
privileged information. Unauthorized use of this communication is  
strictly  
prohibited and may be unlawful. If you have received this communication  
in error, please immediately notify the sender by reply e-mail and  
destroy  
all copies of the communication and any attachments.
