We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45c7bb5 + cf149b3 commit ad92932Copy full SHA for ad92932
2 files changed
app/models/active_storage_db/application_record.rb
app/models/active_storage_db/file.rb
@@ -1,7 +1,7 @@
1
# frozen_string_literal: true
2
3
module ActiveStorageDB
4
- class File < ApplicationRecord
+ class File < ActiveRecord::Base
5
validates :ref,
6
presence: true,
7
allow_blank: false,
0 commit comments