rails/activestorage/app/models/active_storage
Jonathan del Strother 54d3934d43
Fix JSON-encoding ActiveStorage::Filename
ActiveStorage::Filename was missing quotes when encoded,
generating invalid json like this -

```
JSON.generate(foo: ActiveStorage::Filename.new("bar.pdf") # => '{"foo":bar.pdf}'
```

Delete to_json and rely on the implementation from ActiveSupport::ToJsonWithActiveSupportEncoder
2024-02-06 12:37:58 +00:00
..
blob Fix representation proxy for untracked variants 2023-11-20 19:57:01 +01:00
attachment.rb Fix ActiveStorage::Blob inverse association: 2024-01-19 04:18:15 +01:00
blob.rb Use buffered read while generating checksum for blob 2023-12-22 08:43:58 +05:30
current.rb Remove deprecated ActiveStorage::Current#host and ActiveStorage::Current#host= methods 2023-03-03 00:38:41 +00:00
filename.rb Fix JSON-encoding ActiveStorage::Filename 2024-02-06 12:37:58 +00:00
named_variant.rb Add an option to preprocessed AS variants 2023-07-03 19:36:14 +09:00
preview.rb Prevent autolink to method's own class [ci-skip] 2023-11-23 11:46:16 -06:00
record.rb Standardize nodoc comments 2021-07-29 21:18:07 +00:00
variant_record.rb Take AR affixes into account for AStorage models 2023-12-07 00:01:16 +01:00
variant_with_record.rb Fix AS:Representations::ProxyController returning the wrong preview 2023-11-21 21:00:35 +01:00
variant.rb Fix representation proxy for untracked variants 2023-11-20 19:57:01 +01:00
variation.rb Add missing headers to Active Storage docs [ci-skip] 2023-04-03 12:29:49 +02:00