Rails 8.1.0 introduces the `except_on` option for validations and validation callbacks, allowing developers to skip them in specific contexts. Previously, developers had to rely on custom conditional logic or risky workarounds like `save(validate: false)`. The new option simplifies conditional exclusions and makes it easier to

2m read timeFrom blog.saeloun.com
Post cover image
Table of contents
ValidationsValidation Callbacks

Sort: