Forum: Ruby on Rails Object changes inside method

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D9182e8f594a3d77c079eab5210574a3?d=identicon&s=25 Guest (Guest)
on 2006-12-23 16:12
I have a really strange issue. I don't know how to explain it, so take a

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
86e084334c00a932a3675adbf769de67?d=identicon&s=25 Paul Corcoran (Guest)
on 2006-12-24 15:46
(Received via mailing list)
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.

This topic is locked and can not be replied to.