aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/actionview.gemspec
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-03-10 11:35:09 -0600
committerSean Griffin <sean@thoughtbot.com>2015-03-10 11:56:45 -0600
commitafc124c3b417b5327ed4d85dc34393f3d19bfbcf (patch)
tree5aca59a32ca87ef927ffd687c261cf5a110ebda7 /actionview/actionview.gemspec
parent08469012e4db36d4d8dea507691070cd39526268 (diff)
downloadrails-afc124c3b417b5327ed4d85dc34393f3d19bfbcf.tar.gz
rails-afc124c3b417b5327ed4d85dc34393f3d19bfbcf.tar.bz2
rails-afc124c3b417b5327ed4d85dc34393f3d19bfbcf.zip
Attempt to provide backwards compatible YAML deserialization
I should have done this in the first place. We are now serializing an explicit version so we can make more careful changes in the future. This will load Active Record objects which were serialized in Rails 4.1. There will be bugs, as YAML serialization was at least partially broken back then. There will also be edge cases that we might not be able to handle, especially if the type of a column has changed. In addition, we're passing this as `from_database`, since that is required for serialized columns at minimum. All other types were serializing the cast value. At a glance, there should be no types for which this is a problem. Finally, dirty checking information will be lost on records serialized in 4.1, so no columns will be marked as changed.
Diffstat (limited to 'actionview/actionview.gemspec')
0 files changed, 0 insertions, 0 deletions