-
Notifications
You must be signed in to change notification settings - Fork 503
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
NoMethodError - undefined method `start_with?' for #<Tempfile:0x007f99a47bf1e8>: #84
Comments
Thanks dmitry - could you create a pull request, and check for the method being depended on? i.e. |
Hi Empact, Sorry but I don't see this being fixed. I still get the error as roo can't handle the :tempfile I just uploaded. Or am I doing something wrong? |
I've faced the same error on v1.13.2. |
Feel free to make a pull request to fix! I don't have time to investigate and fix these bugs at the moment. |
fix #84 check if the filename is String
Roo::Spreadsheet.open
does not accept Tempfile, because it specifically checks for File, which is not ideal, since there are many classes that can implement File interface.This patch introduces duck typing.
The text was updated successfully, but these errors were encountered: