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.

There was a problem

You must be a member of this account.

Ripta Pasay's latest activity

Saturday, July 19 2008
578 Mime type lookup_by_extesion is case sensitive was updated in Ruby on Rails
  • Ripta Pasay
    Ripta Pasay commented at 8:19 PM

    I'm very aware that foo.css != foo.CSS on Unix (and all its derivatives), including OS X which is what I'm on.

    In the case of Rails however, I don't think thi...

Friday, July 18 2008
578 Mime type lookup_by_extesion is case sensitive was updated in Ruby on Rails
  • Ripta Pasay
    Ripta Pasay commented at 4:05 AM

    I agree with Geoff.

    The problem is that we're not calling #lookup_by_extension ourselves. If we were, then we could .downcase before passing into the method. ...

Thursday, July 17 2008
578 Mime type lookup_by_extesion is case sensitive was updated in Ruby on Rails
  • Ripta Pasay
    • Tag changed from actionpack, mime, patch to actionpack, mime, patch, tested, tests
    by Ripta Pasay at 9:21 PM

    +1 on this. Attached is a patch that passes all current actionpack tests, with an extra test to verify that #lookup_by_extension is case-insensitive.

Sunday, July 13 2008
600 Print controller module into request log was updated in Ruby on Rails
  • Ripta Pasay
    Ripta Pasay commented at 12:02 AM

    +1. Attaching a patch with passing test.

Saturday, July 12 2008
598 DateTime#to_json is slow. was updated in Ruby on Rails
  • Ripta Pasay
    • Title changed from Time#to_json is slow. to DateTime#to_json is slow.
    • Tag changed from 2.0-stable, activerecord, patch to 2.0-stable, activesupport, patch
    by Ripta Pasay at 10:25 PM

    Benchmarking the changes, I could only get about a 0.25% speed-up at best. I agree the string operation is unnecessary and there was a speed-up, but it seems n...

360 Dirty tracking on serialized columns is broken was updated in Ruby on Rails
  • Ripta Pasay
    Ripta Pasay commented at 9:19 PM

    I couldn't reproduce this either. I did, however, find that dirty tracking doesn't work with in-place manipulation of said serialized column:

    >> m.legs
    => [1...