-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rails 7 compatibility issue #193
Comments
This is caused by the removed |
The above issue was addressed by the PR mentioned so I'll close this issue. There are still Rails 7 incompatibilities related to ActiveStorage however (#196 ) |
We have the same concern as archonic and we want to know when you plan to do a new tag for the gem? |
Steps to reproduce
Hit this error while upgrading to Rails 7. Seen on my main app, don't have a reproduction app yet. This is getting an uploaded avatar. The URL was generated with
url_for( resource.avatar.variant(resize_to_limit: [100,100]) )
.Expected behavior
ActiveStorage varient URLs should not 500
Actual behavior
ActiveStorage variant URLs are 500'ing with:
System configuration
Rails 7.0.2, Ruby 3.0.3
Postgres
2.11.0
config/initializers/apartment.rb
or so):ActiveStorage tables are tenanted.
use_schemas
: (true
orfalse
)true
It looks as if this alias is failing to override ActiveRecord:
https://github.com/rails-on-services/apartment/blob/development/lib/apartment/active_record/connection_handling.rb#L18
I'm not sure if it's related, but I noticed in the Rails 7 upgrade that a dynamically defined boolean attribute method
example?
was instead running a model methodexample(argument)
.The text was updated successfully, but these errors were encountered: