diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-06-10 10:04:29 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-06-10 10:04:29 +0100 |
commit | 42870985da06418461c847563fa860c11b4094a1 (patch) | |
tree | 76681986b43aa65c212230e984b504b7c99d3135 /lib/strip_attributes/strip_attributes.rb | |
parent | 9f15eb5b84f2a78c202ff7ad9155cfca9a0f3ed1 (diff) |
Rename XXX comments with TODO:
Picks these up in `rake notes` and adds semantic meaning
Diffstat (limited to 'lib/strip_attributes/strip_attributes.rb')
-rw-r--r-- | lib/strip_attributes/strip_attributes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strip_attributes/strip_attributes.rb b/lib/strip_attributes/strip_attributes.rb index 130d10185..12350277d 100644 --- a/lib/strip_attributes/strip_attributes.rb +++ b/lib/strip_attributes/strip_attributes.rb @@ -1,6 +1,6 @@ module StripAttributes # Strips whitespace from model fields and leaves nil values as nil. - # XXX this differs from official StripAttributes, as it doesn't make blank cells null. + # TODO: this differs from official StripAttributes, as it doesn't make blank cells null. def strip_attributes!(options = nil) before_validation do |record| attribute_names = StripAttributes.narrow(record.attribute_names, options) |