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.

Lawrence Pit's latest activity

Thursday, June 10 2010
i18n_reload_rails3.diff was uploaded by Lawrence Pit at 2:03 PM to #4820, Ruby on Rails
4547 ActiveSupport #to_json doesn't work with DM was updated in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit commented at 12:28 PM

    What Bernerd says.. exactly the issue I have. None of my controllers work when a json request is done. You'd think this workaround would work:

       def mine
        ...
Tuesday, June 08 2010
4757 Raising IpSpoofAttackError should result in a 403 Forbidden instead of 500 I... was updated in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit commented at 7:50 AM

    I think it should be the sensible default. Why have default @@rescue_responses at all otherwise?

  • Lawrence Pit
    • Tag set to patch
    by Lawrence Pit at 5:21 AM
4521 HABTM: ability to link and unlink records with :autosave => true was updated in Ruby on Rails
  • Lawrence Pit
    • Tag changed from activerecord 3.0, rails3 to activerecord 3.0, patch, rails3
    by Lawrence Pit at 5:24 AM
4758 Fail asap in case of IP spoofing detection. was updated in Ruby on Rails
4588 Cache increment/decrement with initialization when missing value was updated in Ruby on Rails
Thursday, June 03 2010
4758 Fail asap in case of IP spoofing detection. was created in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit created the ticket at 6:21 AM

    Fail asap in case of IP spoofing detection. Also caches result of request.remote_ip. Attached is patch.

4757 Raising IpSpoofAttackError should result in a 403 Forbidden instead of 500 I... was created in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit created the ticket at 5:24 AM

    When IP spoofing has been detected sending 403 Forbidden is more appropriate than saying there was an internal server error.

    403 Forbidden: "The server understo...

Monday, May 31 2010
4702 Rails 2.3.8: Hash#deep_merge fails for HashWithIndifferentAccess was updated in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit commented at 5:41 AM

    If it's properly fixed in rails 3, why can't that code be used instead of the code proposed in the patch?