Render_with_no_layout cause by Pingdom

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_USER_AGENT :
    Pingdom.com_bot_version_1.4_(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
  • SERVER_PORT : 80
  • SERVER_PROTOCOL : HTTP/1.1
  • SERVER_SOFTWARE : Mongrel 1.0.1

Anybody any ideas?

Thanks
Joerg

On 2007-10-27 08:06:27 -0700, Joerg D.
[email protected] 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.

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.