aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/actionview.gemspec
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-03-10 11:54:17 -0600
committerSean Griffin <sean@thoughtbot.com>2015-03-10 11:56:45 -0600
commit4e7217027f1933d5860ba459b3d23f454272f709 (patch)
treeaf7c4945c79c3abf42099d4bcec012b01280dc6f /actionview/actionview.gemspec
parentafc124c3b417b5327ed4d85dc34393f3d19bfbcf (diff)
downloadrails-4e7217027f1933d5860ba459b3d23f454272f709.tar.gz
rails-4e7217027f1933d5860ba459b3d23f454272f709.tar.bz2
rails-4e7217027f1933d5860ba459b3d23f454272f709.zip
Add YAML compatibility for objects from Rails 4.2
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.
Diffstat (limited to 'actionview/actionview.gemspec')
0 files changed, 0 insertions, 0 deletions