aboutsummaryrefslogtreecommitdiffstats
path: root/lib/strip_attributes/strip_attributes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strip_attributes/strip_attributes.rb')
-rw-r--r--lib/strip_attributes/strip_attributes.rb2
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)