Topic: Changing response headers in Rails 3

I am trying to overwrite response headers so I had following code in Rails 3:

In my controller:

before_filter :no_cache

private
  def no_cache
     response.headers[