Comments (1)
After further digging I've realised this is because the polymorphic record field has a type of uuid
but the active_storage_blobs
and active_storage_attachments
both have a normal ID type and they are obviously incompatible.
This issue is only really apparent when using rails 7.1+ as it is now trying to pre-generate and store preview files. Is there any configuration option to disable that pre-generation so this error does not occur but still gives the ability to generate preview images on the fly?
from rails.
Related Issues (20)
- `ActionController::RoutingError` raised when using middleware with `recognize_path` HOT 2
- Bug with pluck method when used "where" condition with raw SQL HOT 3
- Can't rollback if migration contains `add_reference` when foreign_key.to_table uses schema path HOT 2
- Syntax error in user.rb when using lambdas
- CI fails with the code generated by Rails version >= 7.2.0 HOT 1
- Changed behaviour if CurrentAttributes caused by new default functionality HOT 3
- Support the Prism parser with ErrorHighlight HOT 1
- `ActionController::Live` and `ActiveRecord::Base.connected_to` stale db state HOT 1
- Eject most Active Job adapters into separate gems HOT 11
- [Bug][Railties] Generating scaffold don't apply tailwindcss template if rails new command with '--css=tailwind --javascript=esbuild' HOT 2
- postgresql hstore column not working with schema dump and rspec HOT 3
- Can't use ActiveRecord::Base.connection to check the existence of the DB in Rails 7.2.1 HOT 2
- ActionText adding a spurious `content: ''` to rich text attachments causing them to not preview in the editor HOT 1
- Time.find_zone has inconsistent behavior between mac and linux environments for "America/Indianapolis" HOT 3
- Make it possible for ConnectionPool#disconnect to avoid reconnection HOT 1
- Syntax error on first db:migrate after upgrading to rails 6 HOT 4
- Multiple rate-limits share same cache key so it increments multiple time for single request
- UniquenessValidator raises error when used on singleton class HOT 13
- Errors reported when ActionMailer emails are sent via ActiveJob do not filter mailer params, potentially leak sensitive data HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails.