Andreas Korth
Not a member
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 commented at 8:18 AMMy 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 commented at 9:54 AMThanks, 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 created the ticket at 1:12 AMWhen setting a serialized attribute to "Yes" or "No" will set the attribute to true or false, respectively.
Test case:
class Thing < ActiveRecord::Base se...