active_storage-postgresql
active_storage-postgresql copied to clipboard
PostgreSQL Adapter for Active Storage
Hi and thank you for this project! Error ``` PG::Error: could not open file "/tmp/puma20220411-14-1llyqd": No such file or directory ``` Backtrace ``` File /app/vendor/bundle/ruby/3.1.0/gems/active_storage-postgresql-0.3.0/lib/active_storage/postgresql/file.rb line 82 in lo_import File...
See https://github.com/lsylvester/active_storage-postgresql/issues/15#issuecomment-1854951787
I'm still wrapping my head around the gem and ActiveStorage. When using the gem - the uploaded files were persisted in the databases - however I wasn't able to serve...
It appears that bindings have changed when on Rails 7 and inheriting from ActiveRecord::Base results in trying to make connection through the activerecord adapter for File which fails with ActiveRecord::ConnectionNotEstablished....