We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af20a14 + 7a7d118 commit a967d35Copy full SHA for a967d35
activerecord/lib/active_record/normalization.rb
@@ -51,7 +51,8 @@ module ClassMethods
51
#
52
# ==== Options
53
54
- # * +:with+ - The normalization to apply.
+ # * +:with+ - Any callable object that accepts the attribute's value as
55
+ # its sole argument, and returns it normalized.
56
# * +:apply_to_nil+ - Whether to apply the normalization to +nil+ values.
57
# Defaults to +false+.
58
0 commit comments