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.

Andreas Korth's latest activity

Wednesday, September 10 2008
857 Serialized attribute values "Yes" or "No" get coerced into booleans was updated in Ruby on Rails
  • Andreas Korth
    Andreas Korth commented at 8:18 AM

    My use case is the same as Tarmo's. Serializing a string alone doesn't make sense, but whenever the attribute value can be of variable type, the bug might hit y...

Tuesday, August 19 2008
857 Serialized attribute values "Yes" or "No" get coerced into booleans was updated in Ruby on Rails
  • Andreas Korth
    Andreas Korth commented at 9:54 AM

    Thanks, Chris.

    Now that I know where things go wrong, I can probably create a patch.

    It might not make a whole lot of sense to serialize a String, but in my c...

  • Andreas Korth
    Andreas Korth created the ticket at 1:12 AM

    When setting a serialized attribute to "Yes" or "No" will set the attribute to true or false, respectively.

    Test case:

    
    
    class Thing < ActiveRecord::Base
      se...