Undefined Method 'original_path' Rails 3.0.4
I was previously using Rails '3.0.0.rc' but just upgraded to 3.0.4. When I import a csv file, I now see an error:
undefined method `original_path' for #<ActionDispatch::Http::UploadedFile:0x00000100ae5398>
Have had a look around and can't see what I'm supposed to alter in the later version of rai开发者_运维知识库ls.
I can post files if required.
Bob
You should now use original_filename
精彩评论