Process blob variants using local files
Rails does post-upload variant processing using the same file upload in https://github.com/rails/rails/pull/56327 Unrelated Lexxy bump: Pulls in https://github.com/basecamp/lexxy/pull/493 to work around `dom_id` removal from ActionText tag in https://github.com/rails/rails/pull/51238
This commit is contained in:
@@ -11,10 +11,9 @@ end
|
||||
# before the User model's upload callback, causing FileNotFoundError when
|
||||
# using `process: :immediately` for variants.
|
||||
# See: https://github.com/rails/rails/issues/53694
|
||||
#
|
||||
# ActiveSupport.on_load(:active_storage_record) do
|
||||
# configure_replica_connections
|
||||
# end
|
||||
ActiveSupport.on_load(:active_storage_record) do
|
||||
configure_replica_connections
|
||||
end
|
||||
|
||||
module ActiveStorageControllerExtensions
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
Reference in New Issue
Block a user