StripAttributes automatically strips all ActiveRecord model attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
Required Ruby Version
>= 1.9.3
Authors
Ryan McGeary
Versions
-
2.0.1
-
source
- 2.0.1 source August 27, 2025 (12.5 KB)
-
-
2.0.0
-
source
- 2.0.0 source February 24, 2025 (12 KB)
-
-
1.14.1
-
source
- 1.14.1 source December 10, 2024 (12 KB)
-
-
1.14.0
-
source
- 1.14.0 source November 10, 2024 (12 KB)
-
-
1.13.0
-
source
- 1.13.0 source May 13, 2022 (12 KB)
-