-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ActionDispatch::Http::UploadedFile broken for Rails 3.2 #286
Labels
Comments
Current workarounds include: Go straight to the temp file: file_filter_name: (file = params[:file]) && file.tempfile Pass the upload as an object: object :file_filter_name,
class: ActionDispatch::Http::UploadedFile |
ActionDispatch's uploaded file only has a few methods in version 3.2.0:
Of those, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When #243 was merged we used
eof?
to check file filters. That method was not added toActionDispatch::Http::UploadedFile
until 4.0.2.http://apidock.com/rails/v4.0.2/ActionDispatch/Http/UploadedFile/eof%3F
The text was updated successfully, but these errors were encountered: