diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-09-24 13:43:33 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-09-24 14:06:59 -0600 |
commit | 8a811c83aa386e4ad26553c913d1a450d8a98d5f (patch) | |
tree | 38a4ccfea032b37560804bcbd4222569f6d25356 /actionmailer | |
parent | 8e633e505880755e7e366ccec2210bbe2b5436e7 (diff) | |
download | rails-8a811c83aa386e4ad26553c913d1a450d8a98d5f.tar.gz rails-8a811c83aa386e4ad26553c913d1a450d8a98d5f.tar.bz2 rails-8a811c83aa386e4ad26553c913d1a450d8a98d5f.zip |
Encapsulate a lot of the logic from `Dirty` in an object
In order to improve the performance of dirty checking, we're going to
need to duplicate all of the `previous_` methods in Active Model.
However, these methods are basically the same as their non-previous
counterparts, but comparing `@original_attributes` to
`@previous_original_attributes` instead of `@attributes` and
`@original_attributes`. This will help reduce that duplication.
Diffstat (limited to 'actionmailer')
0 files changed, 0 insertions, 0 deletions