Multiple instances adding to the same attribute.

You could do (and don’t quote me on this as I haven’t used it):

def fileserve

file = Client.file.find(:first, ....)

respond_to |format|

	format.zip {

		# send file here, not a link but a real file

	}

end

end

Sorry for my obscurity in the answer, don’t know how else to explain it.

That should work though I reckon. Never used respond_to for anything but rails files though.

Cheers,

Zach Inglis

→ Blog – http://www.zachinglis.com

→ Company – http://www.lt3media.com

→ Portfolio – http://portfolio.zachinglis.com