In Ruby 3.0, Regexp and Range literals are frozen objects, and so we don't need to freeze them.
before_destroy