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.

mt's latest activity

Monday, September 08 2008
995 Weird error in Hash.to_json was created in Ruby on Rails
  • mt
    mt created the ticket at 6:38 PM

    {}.to_json() => "{}" {}.to_json({})

    TypeError: wrong argument type Hash (expected Data)

        from (irb):4:in `to_json'
        from (irb):4
    
    

    This is in Ruby 1....

Wednesday, August 27 2008
909 XML Builder redefines some methods that breaks things was updated in Ruby on Rails
  • mt
    mt commented at 7:01 PM

    FWIW, I notice that BasicObject in Ruby 1.9 DOES define == properly. Nyah.

  • mt
    mt commented at 6:08 AM

    How much sense does it make to sacrifice very basic semantics of objects for the ability to generate a <==> tag, something which nobody will ever want to do?

    O...

  • mt
    mt commented at 5:49 AM

    It can't possibly be valid behavior for an equality operator to cause side effects.

    Note that this did not just break the IDE, it broke the application itself.

Tuesday, August 26 2008
909 XML Builder redefines some methods that breaks things was created in Ruby on Rails
  • mt
    mt created the ticket at 11:01 PM

    I have been doing some stuff with the XML Builder, and running into problems whenever I try to debug it with an IDE (trying both Eclipse and Netbeans). I belie...