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.

bgallet's latest activity

Saturday, December 11 2010
6077 ActiveSupport::JSON.encode fails for Struct types was updated in Ruby on Rails
  • bgallet
    bgallet commented at 9:54 PM

    I cannot reproduce this, however, it is not behaving as expected.

    Struct.new("StructTest", :name, :address)
    puts Struct::StructTest.new("Dave", "value").to_jso...