This project is archived and is in readonly mode.
Changeset [9381eb3dc36c0a1b2a7917f40c7bc302f987095f] by Michael Koziarski
Revision 9381eb3dc36c0a1b2a7917f40c7bc302f987095f,
committed by Michael Koziarski
· December 2nd, 2010 @ 02:36 AM
Work around a strange piece of Syck behaviour where it checks Model#respond_to? before initializing the object.
Things like YAML.load(YAML.dump(@post)) won't work without
this.
https://github.com/rails/rails/commit/9381eb3dc36c0a1b2a7917f40c7bc...
2 changed files
-
M
activerecord/lib/active_record/attribute_methods.rb -
M
activerecord/test/cases/attribute_methods_test.rb