aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/support/yaml_compatibility_fixtures/rails_4_1.yml
Commit message (Collapse)AuthorAgeFilesLines
* Add YAML compatibility for objects from Rails 4.2Sean Griffin2015-03-101-0/+22
As of Ruby 2.2, Psych can handle any object which is marshallable. This was not true on previous versions of Ruby, so our delegator types had to provide their own implementation of `init_with` and `encode_with`. Unfortunately, this doesn't match up with what Psych will do today. Since by the time we hit this layer, the objects will have already been created, I think it makes the most sense to just grab the current type from the class.