From: eduard Date: 2006-01-21T04:34:00+09:00 Subject: Re: output buffering ------=_Part_6192_5946798.1137785627973 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I was just trying to find an easy way set headers for each page. Tom Fakes suggested this and it works great. after_filter { |controller| controller.response.headers['Content-Length'] =3D controller.response.body.length } On 1/19/06, Eero Saynatkari wrote: > > eduard wrote: > > Mark, > > > > I am having a similar problem. Have you ever figured out how to do > > ob_start() in Ruby? > > I am not familiar with PHP, would you be able to give an > example where this would be useful or what this is commonly > used for? This might enable finding a ruby equivalent. > > > thanks, > > eduard > > > E > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_6192_5946798.1137785627973--