I'm trying to set headers following the second example in this
tutorial http://merbunity.com/tutorials/2:

 headers['Content-Disposition'] = "attachment; filename =
#{get_the_file_name}"
 headers['Content-Type'] ="#{get_the_file_content_type}"

I get undefined method `[]' for nil:NilClass

I've tried

header
headers
response.header
response.headers
@response.header
@response.headers

all to no avail.

?

TIA

-- 
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/merb?hl=en.

Reply via email to