Some gems modify String to include a content_type method. They generally
do not add an original_filename, however, and this causes problems when
creating a new FilePart
ensure potential FilePart responds to original_filename
Any thoughts on making this a class method like:
Then the line looks like:
Swap file? out with a better name if you so desire.
Sounds good to me.
refactor Parts::Part to encapsulate file detection logic
refute -> assert !