This project is archived and is in readonly mode.
Changeset [96eec090dfd50326146b2f690408fefec50c5111] by Michael Koziarski
Revision 96eec090dfd50326146b2f690408fefec50c5111,
committed by Michael Koziarski
· December 2nd, 2010 @ 04:40 PM
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/96eec090dfd50326146b2f690408f...
2 changed files
-
M
activerecord/lib/active_record/attribute_methods.rb -
M
activerecord/test/cases/attribute_methods_test.rb