Ruby on Rails latest stable (v4.2.7) - 0 notes - Class: ActionController::UploadedFile

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

These similar methods exist in v4.2.7:

original_filename() public

Take the basename of the upload’s original filename. This handles the full Windows paths given by Internet Explorer (and perhaps other broken user agents) without affecting those which give the lone filename. The Windows regexp is adapted from Perl’s File::Basename.

Show source
Register or log in to add new notes.