diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-09-05 15:39:19 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-05 15:40:35 +0100 |
commit | 2f1cca7df58c93ef7844831af892a716b9b17f48 (patch) | |
tree | 2c5fa964a729a38fb338f3105adf6d6ec3f6a97e /lib/tasks/temp.rake | |
parent | 6518bfde0d974092777522c8dd883fd498b2972c (diff) |
Don't dirty every attribute in checking for whitespace.
Check to see if the stripped version is different before setting it on
the record. If we don't do this, the subsequent call to write_attribute
in Globalize3 which uses attribute_will_change! means we're storing
versions when there hasn't really been any change.
Diffstat (limited to 'lib/tasks/temp.rake')
0 files changed, 0 insertions, 0 deletions