Frederick Cheung wrote:
>> indicated then the problem was solved.
>> Then next same error as below arose evenif I placed "config.gem
>> 'actionpack'" same as the upper statement.
> Don't do that - actionpack is part of rails and so is loaded anyway.
> Where does UploadedFile come from?
Thank you for the comment.
'rake gems' tell me that 'actionpack' framework.
Module UploadedFile resides under
original_filename method which I use is defined in UploadedFile module.
It will be ActionController::UploadedFile then. I'm not sure what
you're trying to do my mixing that into one of your view helpers -
that module is intended to be mixed into the objects representing file
uploads - mixing it into your view helper module won't gain you a
working original_filename method.