asrux
Owner · Not a member
asrux's latest activity
Saturday, December 06 2008
1379
Serialized Fixnum, Float or Boolean returns a String after save
was updated
in Ruby on Rails
-
asrux commented at 5:39 AMHere's the code better formatted (hopefully)
# We need explicit to_yaml because quote() does not properly convert Time/Date fields to YAML. ... -
asrux commented at 5:36 AMThat fix seems to work for this problem, but i can see it being a problem with values that are nil or false, both nil and false can be converted to yaml and bro...
Saturday, November 22 2008
1379
Serialized Fixnum, Float or Boolean returns a String after save
was updated
in Ruby on Rails
-
- Title changed from Serialized Fixnum returns a String after save to Serialized Fixnum, Float or Boolean returns a String after save
I tested this with a few other data types and found that the same thing happens with floats and booleans as well, booleans aren't returned correctly under RC1 e...
Saturday, November 15 2008
1379
Serialized Fixnum returns a String after save
was created
in Ruby on Rails
-
asrux created the ticket at 9:35 AMUsing the included code under Rails 2.2 RC1 or lower to serialize an attribute, if you set the value to be a Fixnum it will be returned back to you as a Fixnum.
...