James Ravn
Not a member
James Ravn's latest activity
Monday, January 19 2009
1396
Framework crashes on launch on Solaris with invalid encoding ("ascii//ignore/...
was updated
in Ruby on Rails
-
James Ravn commented at 12:11 AMHere's an updated patch that does the rescue during class definition or "compile time". I also expanded the test class so the pure ruby transliterate method is ...
Tuesday, January 13 2009
1396
Framework crashes on launch on Solaris with invalid encoding ("ascii//ignore/...
was updated
in Ruby on Rails
-
James Ravn commented at 6:07 PMPatch attached.
Note: It will use the built in transliterate after the test is run, which I don't think is a problem. I'd prefer if the test reloaded inflector....
Wednesday, November 26 2008
1396
Framework crashes on launch on Solaris with invalid encoding ("ascii//ignore/...
was updated
in Ruby on Rails
-
James Ravn commented at 7:20 PMLet's try that again (why make it hard to paste diffs?):
# Replaces accented characters with their ascii equivalents. def transliterate(string) - ... -
James Ravn commented at 7:17 PMAs a quick fix, you can do something like this in activesupport/lib/active_support/inflector.rb:
# Replaces accented characters with their ascii equivalents. ...