| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| generators/paperclip | ||
| paperclip | ||
| tasks | ||
| .DS_Store | ||
| paperclip.rb |
In Rails, `ActionDispatch::Http::UploadedFile` has an accessor to access a `Tempfile` object. However, `Rack::Test::UploadedFile` does not provide that, but provinding the `#path` method instead. To be able to support both, we have to check for existance for `#tempfile` method, then fallback to `#path` method. Fixes #807
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| generators/paperclip | Loading commit data... | |
| paperclip | Loading commit data... | |
| tasks | Loading commit data... | |
| .DS_Store | Loading commit data... | |
| paperclip.rb | Loading commit data... |