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.

Akira Matsuda's latest activity

Wednesday, March 11 2009
1100 JSON decoding of \u escape sequences was updated in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda commented at 10:17 AM

    Please take a look at #1969 for the Ruby 1.9 matter.

    I guess,

    
    json[left.succ..right_pos[i]]
    

    won't work properly with multibyte chars on Ruby 1.9.

2210 Validation on associations can't process I18n aware error message was created in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda created the ticket at 7:52 AM

    AR#full_messages basically generates I18n translated error_messages, but it fails to translate the model name when validating on associations (e.g. when submitt...

Saturday, February 28 2009
2038 I18n interpolation fails with multibyte strings on Ruby 1.9 was updated in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda commented at 4:43 AM

    Ah, sorry for the tests on Ruby 1.8.
    Thank you for fixing that, Manfred.
    And, thanks for the credit, Sven.

Sunday, February 22 2009
2038 I18n interpolation fails with multibyte strings on Ruby 1.9 was created in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda created the ticket at 12:56 AM

    Current Rails I18n.interpolate fails with the following error when multibyte values given on Ruby 1.9.

    
    incompatible character encodings: UTF-8 and ASCII-8BIT...
Thursday, February 19 2009
2021 missing config.gem causes a strange error in rake tasks was created in Ruby on Rails
2018 Ruby 1.9 compat: plugin/install git://... always fails in Ruby 1.9 was created in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda created the ticket at 7:11 PM

    I found that

    
    % script/plugin install git://...
    

    always fails bacause FileUtils.mkdir_p does not return a string value in Ruby 1.9.

    Attatched a patch to fix ...

Saturday, February 14 2009
1969 Ruby 1.9 compat: fix JSON decoding with multibyte values was updated in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda commented at 7:19 PM

    Sorry for posting again and again. Fixed the code again to pass the test with Ruby 1.9, 1.8.7 and 1.8.6.

  • Akira Matsuda
    Akira Matsuda commented at 4:08 PM

    Changed the implementation not to depend on #1968 which didn't really like.

    Please discard the previous patch and try this new one.

1968 Ruby 1.9 compat: add String#bytesize was updated in Ruby on Rails
  • Akira Matsuda
    Akira Matsuda commented at 4:03 PM

    I rethinked and changed my mind.

    This bytesize method may induce some needless surprize, because String#bytesize should not be == String#size in many other case...

  • Akira Matsuda
    Akira Matsuda commented at 2:10 PM

    Sorry about that. Attatched a new patch file including test cases.