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

None

Authors

Ryan McGeary

Versions

  1. 2.0.1 August 27, 2025 (12.5 KB)
  2. 2.0.0 February 24, 2025 (12 KB)
  3. 1.14.1 December 10, 2024 (12 KB)
  4. 1.14.0 November 10, 2024 (12 KB)
  5. 1.13.0 May 13, 2022 (12 KB)
  6. 1.4.4 July 18, 2013 (8.5 KB)
Show all versions (33 total)

SHA 256 checksum