ActiveStorage
Constants
The gem's allowlist (mattr_accessor :supported_image_processing_methods, extended by app config in the engine) for the mini_magick transformer.
The gem's engine default (unsupported_image_processing_arguments).
Class methods
The gem's Service#content_disposition_with →
ActionDispatch::Http::ContentDisposition.format (inline default):
inline; filename="<sanitized>"; filename*=UTF-8''<sanitized>
Base URL for Disk direct-upload/service URLs (the gem builds absolute URLs from ActiveStorage::Current.url_options; the port keeps it a class property — empty means path-only URLs).
Base URL for Disk direct-upload/service URLs (the gem builds absolute URLs from ActiveStorage::Current.url_options; the port keeps it a class property — empty means path-only URLs).
Route definitions for the app's CRails.application.routes.draw block:
CRails.application.routes.draw do active_storage ... end
(active_storage is defined on CRails::Routes::Drawer below — the
draw block delegates bare calls to the drawer.)
ActiveStorage.service_urls_expire_in (5 minutes in the gem).
The gem resolves this in after_initialize; the port resolves lazily from variant_processor (no railtie yet), reset when the processor changes.
The blob_id/token verifier (the gem wires
Rails.application.message_verifier("ActiveStorage") — SHA256,
url_safe, JSON serializer). Secret: CRAILS_SECRET_KEY_BASE (the app's
secret_key_base) with a fixed development fallback.
The blob_id/token verifier (the gem wires
Rails.application.message_verifier("ActiveStorage") — SHA256,
url_safe, JSON serializer). Secret: CRAILS_SECRET_KEY_BASE (the app's
secret_key_base) with a fixed development fallback.
Nested types
- ActiveStorage::Attached
- ActiveStorage::Attachment
- ActiveStorage::BaseController
- ActiveStorage::Blob
- ActiveStorage::Checksum
- ActiveStorage::DirectUploadsController
- ActiveStorage::DiskController
- ActiveStorage::DiskService
- ActiveStorage::FileNotFoundError
- ActiveStorage::Filename
- ActiveStorage::IntegrityError
- ActiveStorage::S3Service
- ActiveStorage::Service
- ActiveStorage::Transformers
- ActiveStorage::Variant
- ActiveStorage::Variation