This project is archived and is in readonly mode.
private method `split' called for #<Mime::Type:0x226f618>
-
ihunter
- Tag cleared.
-
Bodaniel Jeanes
I am getting this as well. However, I get it when performing XHR requests even for non-vendored Rails on 2.3.2
+1
-
ian (at cocodot)
I found a temporary workaround, not sure if it's correct but it works in my case:
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets...
Just add:
module Mime
class Type
def split(*args) to_s.split(*args) endend
end
to a config/initializers class file.
HTH, ian
-
amanfredi (at gmail)
I believe this is the same as #2658 Internal server error after empty POST with XML content type
-
qoobaa
I think it's the same problem as in #2658 Internal server error after empty POST with XML content type. I wrote a failing test that passes on edge, so it seems to be already fixed. I suggest including the test to avoid further problems.
-
laserlemon
I prefer:
class Mime::Type delegate :split, :to => :to_s end -
Prem Sichanugrist (sikachu)
- State changed from new to duplicate