This one really stumps me:
render :text => ‘hi there’
Renders with content-type ‘html/text’ most of the time. But not
always, sometimes it has the type ‘text/plain’.
http::localhost:3000/controller/hello/rob.txt # renders as text
http::localhost:3000/controller/hello/robots.txt # renders as html
the relevant line in my routes.rb is:
any ideas?? DId I hit a bug?