-
### Steps to reproduce
Create an ActiveRecord model with an ActiveStorage relation. Initialize and add the associated attachment. Cast the object to another subclassed model, the associated attachmen…
-
https://github.com/platanus/ksec/pull/495 for reference
-
### 安装
```
$ rails active_storage:install
$ rails db:migrate
```
### [使用](https://ruby-china.org/topics/36081)
Model不需要再添加额外字段,直接添加如下关系就行
```ruby
has_one_attached :image ## 一对一关系 或
has_many_…
-
Hello,
If i use standard `config.active_storage.service = :local`, i can upload and download a pdf.
But the download broke when i change it to `config.active_storage.service = :db`.
ruby '2.5.1…
-
### What were you trying to do?
I tried to generate dashboards to visualize/manage our ActiveStorage blobs and attachments, hopefully in order to see which kind of blobs we have in the DB, which re…
-
### Steps to reproduce
```ruby
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.…
-
## Steps to reproduce
After upgrading our app to Rails 7.0.2 from 6.1.4, the direct upload no longer works together with the apartment. Blob records are always created in the default schema (or whate…
-
From https://hackerone.com/reports/2334455 (Treated as Informative)
---
The danger of deserialization has been reduced in Rails 7.1 by increasing the number of settings that do not use Marshal i…
-
`ActiveStorage::DiskController#update` returns a 422 error when the submitted content contains a parameter in its Content-Type / media type, for example `audio/ogg; codecs=opus`.
This issue appears…
-
Recently I bumped ruby to 3.0 and received this error:
```text
NoMethodError: undefined method `encode' for URI:Module
from fog-openstack (1.0.11) lib/fog/openstack/storage/requests/delete_multip…