Object changes inside method

I have a really strange issue. I don’t know how to explain it, so take a
look: http://tinyurl.com/spe4t

Basicly this looks like (at least to me) the object I pass the metohd
changes, and is not the same inside the method.

how can that be?

thanks in advance

I must admit I’m stumped. What I would do is place a “puts
incoming_file.inspect” as the first statement in the uploaded_file
method to make sure you really have a File object. If you figure this
out please post a solution.

By the way - how did you get your code example, with syntax
highlighting and all, into html format? That looks nice.

-Paul