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.

Bryce Kerley's latest activity

Monday, January 17 2011
6077 ActiveSupport::JSON.encode fails for Struct types was updated in Ruby on Rails
  • Bryce Kerley
    Bryce Kerley commented at 4:24 AM

    I'm getting a test failure on this in 1.9.2-p136, due to hash ordering:

    test_struct_encoding(TestJSONEncoding) [test/json/encoding_test.rb:239]:
    <"{\"sub\":{\"...
Thursday, July 17 2008
624 Columns marked for serialization do not serialize was updated in Ruby on Rails
  • Bryce Kerley
    • Tag changed from activerecord, bug, patch, serialization, tested, yaml to activerecord, bug, patch, serialization, yaml
    by Bryce Kerley at 3:10 PM

    OK, got this most of the way fixed, except I'm failing a couple validation tests:

      1) Failure:
    test_validate_uniqueness_scoped_to_defining_class(Validations...
Tuesday, July 15 2008
624 Columns marked for serialization do not serialize was updated in Ruby on Rails
  • Bryce Kerley
    Bryce Kerley commented at 9:58 PM

    Can't do this the way I'm doing it without creating stupid workarounds for lots of tests.

  • Bryce Kerley
    Bryce Kerley commented at 7:38 PM

    So it turns out that attributes_with_quotes grabs the unserialized version through the provided accessor, and then re-serializes them into the database. http...

  • Bryce Kerley
    Bryce Kerley created the ticket at 6:54 PM

    Columns in an AR model can be marked for serialization if they are being used to store Arrays, Hashes, or other YAML-able data non-relationally:

    class Hat < A...