# Render\_with\_no\_layout cause by Pingdom

**URL:** <https://www.ruby-forum.com/t/render-with-no-layout-cause-by-pingdom/118479>\
**Category:** Rails\
**Created:** [October 27, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/render-with-no-layout-cause-by-pingdom/118479 "2007-10-27T17:06:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joergd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@joergd](https://www.ruby-forum.com/u/joergd)\
**Post date:** [October 27, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/render-with-no-layout-cause-by-pingdom/118479/1 "2007-10-27T17:06:27Z")

</div>

Hi,

When I go to my homepage all is well, however when the Pingdom bot  
arrives (every few seconds!), it throws the following error:

ActionController::RenderError occurred in home#index:

You called render with invalid options : available  
[RAILS\_ROOT]/vendor/rails/actionpack/lib/action\_controller/base.rb:808:in  
`render\_with\_no\_layout’

My index action doesn’t call render, it just renders the index.rhtml  
file as per normal.

These are the headers I get when pingdom comes to my site: I get these  
sent to me every few seconds.

- GATEWAY\_INTERFACE : CGI/1.2
- HTTP\_CONNECTION : close
- HTTP\_HOST : [dingbat.esseff.org](http://dingbat.esseff.org)
- HTTP\_USER\_AGENT :  
Pingdom.com\_bot\_version\_1.4\_([http://www.pingdom.com/](http://www.pingdom.com/))
- HTTP\_VERSION : HTTP/1.0
- HTTP\_X\_FORWARDED\_FOR: 70.87.224.74
- HTTP\_X\_REAL\_IP : 70.87.224.74
- PATH\_INFO : /
- QUERY\_STRING : pingdom=true
- REMOTE\_ADDR : 70.87.224.74
- REQUEST\_METHOD : GET
- REQUEST\_PATH : /
- REQUEST\_URI : /?pingdom=true
- SCRIPT\_NAME : /
- SERVER\_NAME : [dingbat.esseff.org](http://dingbat.esseff.org)
- SERVER\_PORT : 80
- SERVER\_PROTOCOL : HTTP/1.1
- SERVER\_SOFTWARE : Mongrel 1.0.1

Anybody any ideas?

Thanks  
Joerg

---

<div class="post-metadata">

**Author:** ![joergd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@joergd](https://www.ruby-forum.com/u/joergd)\
**Post date:** [October 28, 2007, 1:23am UTC](https://www.ruby-forum.com/t/render-with-no-layout-cause-by-pingdom/118479/2 "2007-10-28T01:23:56Z")

</div>

On 2007-10-27 08:06:27 -0700, Joerg D.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) said:

> /?pingdom=true

Pingdom sends this param item. I’m guessing you must be trying to  
render the text “available” somewhere instead of rendering  
index.rhtml… that’s what Pingdom asks for in a response as I recall.  
Maybe you have this in a before filter instead of the index action?

–Andrew V.

---

<div class="post-metadata">

**Author:** ![joergd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@joergd](https://www.ruby-forum.com/u/joergd)\
**Post date:** [October 29, 2007, 11:07am UTC](https://www.ruby-forum.com/t/render-with-no-layout-cause-by-pingdom/118479/3 "2007-10-29T11:07:50Z")

</div>

Yeah - you’re so right. I rendered “available” when a subdomain was  
available to register (in my app) … still left overs from the  
‘prototype’. I now render a 403.html page with a 403 status. Thanks.

> Pingdom sends this param item. I’m guessing you must be trying to  
> render the text “available” somewhere instead of rendering  
> index.rhtml… that’s what Pingdom asks for in a response as I recall.
