3 # This bit of code allows you to pass regular old files to
4 # file_column. file_column depends on a few extra methods that the
5 # CGI uploaded file class adds. We will add the equivalent methods
6 # to file objects if necessary by extending them with this module. This
7 # avoids opening up the standard File class which might result in
10 module FileCompat # :nodoc: