This project is archived and is in readonly mode.

Changeset [9381eb3dc36c0a1b2a7917f40c7bc302f987095f] 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...

Committed by Michael Koziarski

  • M activerecord/lib/active_record/attribute_methods.rb
  • M activerecord/test/cases/attribute_methods_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>