Sha256: 7be1ae794437d67718b46547ae1af8d16539c2ac828acfa28c85fa5218832798
Contents?: true
Size: 422 Bytes
Versions: 3
Compression:
Stored size: 422 Bytes
Contents
require 'activestorage/validator/blob' require 'activestorage/validator/version' module ActiveStorage # https://github.com/rails/rails/commit/42259ce904eb2538761b32a793cbe390fb8272b7 if Rails::VERSION::MAJOR < 6 class Attached::One < Attached def blank? attachment.blank? end end end end I18n.load_path += Dir[File.expand_path(File.join(__dir__, '../../config/locales', '*.yml')).to_s]
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
activestorage-validator-0.1.3 | lib/activestorage/validator.rb |
activestorage-validator-0.1.2 | lib/activestorage/validator.rb |
activestorage-validator-0.1.1 | lib/activestorage/validator.rb |