prasanna
Not a member
prasanna's latest activity
Monday, August 16 2010
5381
ActiveRecord marshal dump/load has a different behavior on boolean [rails]
was updated
in Ruby on Rails
-
prasanna commented at 8:21 PMIt is probably not a deal-breaker. I am guessing, rails works like this:
@after_save_running = true # call the after_save handlers @after_save_running = false... -
prasanna commented at 8:11 PMDataBase: mysql
Rails: 2.3.5To reproduce it: You have to put the following statement in your after_save handler.
class Bool after_save :dumper def dumpe...
Saturday, August 14 2010
5381
ActiveRecord marshal dump/load has a different behavior on boolean [rails]
was updated
in Ruby on Rails
-
- Assigned user set to Aaron Patterson
I was wondering if this should be a bug report of a ticket?
-
prasanna created the ticket at 7:45 PMStep 1: setup
a = Aritcle.new(:some_boolean => false) a.save write_to_memcache(a.id, Marshal.dump(a)) b = Marshal.load(read_from_memcache(a.id))If I do:
b.s...