Re:Shopify's path to Rails 3
by ludicast on Tuesday November 16, 2010 @03:01PM
(#1911388)
The encoding issues bit me in a few places (especially with paperclip), and I have some hacky initializers running that monkeypatch a few libraries to behave well enough.
[ Parent
| on HN ]
I'm knee deep in encoding hell right, I'd love to hear more about how you patched it to work with 1.9.2
You can fix most encoding problems with doing
Encoding.default_internal = Encoding.default_external = "UTF-8"
but as JEG states in http://blog.grayproductions.net/articles/ruby_19s_three_defa..., this throws warnings and may still not fix things.Encoding issues rank up there with Array.to_s pains when moving to 1.9
Re:Shopify's path to Rails 3
by wvanbergen on Wednesday November 17, 2010 @11:13AM
(#1914663)
My favorite issue in 1.9.2: "." is no longer included on the $LOAD_PATH.