开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜