0

こんにちは、実際の問題が何であるかを理解できません。私はrails 2.3.18とruby 1.8.7を使用していますエラーのスタックトレースは次のとおりです

  …tivesupport-2.3.18/lib/active_support/json/encoding.rb:  68:in `unpack'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  68:in `escape'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  63:in `gsub'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  63:in `escape'
…port-2.3.18/lib/active_support/json/encoders/string.rb:   3:in `to_json'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  79:in `encode'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `__send__'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `encode'
…-2.3.18/lib/active_support/json/encoders/enumerable.rb:  11:in `to_json'
…-2.3.18/lib/active_support/json/encoders/enumerable.rb:  11:in `map'
…-2.3.18/lib/active_support/json/encoders/enumerable.rb:  11:in `to_json'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  79:in `encode'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `__send__'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `encode'
…port-2.3.18/lib/active_support/json/encoders/object.rb:   4:in `to_json'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  79:in `encode'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `__send__'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `encode'
…-2.3.18/lib/active_support/json/encoders/enumerable.rb:  11:in `to_json'
…-2.3.18/lib/active_support/json/encoders/enumerable.rb:  11:in `map'
…-2.3.18/lib/active_support/json/encoders/enumerable.rb:  11:in `to_json'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  79:in `encode'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `__send__'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `encode'
…upport-2.3.18/lib/active_support/json/encoders/hash.rb:  38:in `to_json'
…s/activesupport-2.3.18/lib/active_support/rescuable.rb:  95:in `map'
…upport-2.3.18/lib/active_support/json/encoders/hash.rb:  37:in `each'
…upport-2.3.18/lib/active_support/json/encoders/hash.rb:  37:in `map'
…upport-2.3.18/lib/active_support/json/encoders/hash.rb:  37:in `to_json'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  79:in `encode'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `__send__'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `encode'
…port-2.3.18/lib/active_support/json/encoders/object.rb:   4:in `to_json'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  79:in `encode'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `__send__'
…tivesupport-2.3.18/lib/active_support/json/encoding.rb:  18:in `encode'
…upport-2.3.18/lib/active_support/json/encoders/hash.rb:  38:in `to_json'
…s/activesupport-2.3.18/lib/active_support/rescuable.rb:  95:in `map'
…upport-2.3.18/lib/active_support/json/encoders/hash.rb:  37:in `each'
…upport-2.3.18/lib/active_support/json/encoders/hash.rb:  37:in `map'
…upport-2.3.18/lib/active_support/json/encoders/hash.rb:  37:in `to_json'

このエラーを再現する方法がわかりません。

Ruby Rails、jQuery、Uploadify - 奇妙な UTF-8 エラーがこの問題の解決方法を教えてくれる

4

0 に答える 0