Upgrade to Ruby 3.2 (#22928)

Co-authored-by: Matthew Ford <matt@bitzesty.com>
This commit is contained in:
Aaron Patterson
2023-02-14 23:30:27 -08:00
committed by GitHub
parent d15a9df6fe
commit fb8503e861
7 changed files with 39 additions and 25 deletions

View File

@ -18,5 +18,5 @@ class Backup < ApplicationRecord
belongs_to :user, inverse_of: :backups
has_attached_file :dump
do_not_validate_attachment_file_type :dump
validates_attachment_content_type :dump, content_type: /\Aapplication/
end