Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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
    James Ravn commented at 12:11 AM

    Here'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
    James Ravn commented at 6:07 PM

    Patch 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
    James Ravn commented at 7:20 PM

    Let's try that again (why make it hard to paste diffs?):

    
         # Replaces accented characters with their ascii equivalents.
         def transliterate(string)
    -  ...
  • James Ravn
    James Ravn commented at 7:17 PM

    As a quick fix, you can do something like this in activesupport/lib/active_support/inflector.rb:

     # Replaces accented characters with their ascii equivalents.
    ...