Bob Sumo
Bob Sumo

Reputation: 207

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 rails.

I can post files if required.

Bob

Upvotes: 1

Views: 785

Answers (1)

apneadiving
apneadiving

Reputation: 115541

You should now use original_filename

Upvotes: 3

Related Questions