Txt response information

I need response page in txt not in HTML.
How I can response information in txt?

Thank’s
Bruno

On Monday 08 May 2006 22:53, String numecal validate! wrote:

I need response page in txt not in HTML.
How I can response information in txt?

In your controller action:

headers[‘Content-Type’] = ‘text/plain’
render :layout => false

Cheers,

~Dave

Dave S.
Rent-A-Monkey Website Development

PGP Key: http://www.rentamonkey.com/pgpkey.asc

On May 8, 2006, at 2:53 PM, String numecal validate! wrote:

I need response page in txt not in HTML.
How I can response information in txt?

Set the content type header to ‘text/plain’ in your action.

Please be mindful that the ruby forum is mirrored to a mailing list -
“throwaway” questions like this really clog up the works.

Thanks,
jeremy