I am trying to display a photo on the screen which is stored as binary
MS SQL2000 database.here is what i have written in controller.
@person = Person.find(params[:id])
:type => @person.content_type,
:disposition => ‘inline’)
but when i goto http://localhost:3000/person/photo/2308
I get the following error.
private method `gsub’ called for #Array:0x47454c4
Does anyone know how do i correct this.