-
Notifications
You must be signed in to change notification settings - Fork 531
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 support #518
Comments
It appears the gem won't even install on Rails 7?
I am curious to know as well if this gem will be supporting Rails 7? UPDATE: I see the #516 PR now, apologies for missing that. |
@mnifakram , I'd recommend forking the repository in the #516 PR while we wait on their PR to be merged. I hit the same issue as you and it was because bundler had resolved a much older version of this gem (1.2.0) which causes the unknown keyword error to occur. I'm using the rails7 branch of the PR from #516 and I haven't had any problems |
Done in v2.5.0. |
Hello,
Steps to reproduce:
rails generate scaffold User name username email
rails generate migration AddDeletedAtToUser deleted_at:datetime:index
acts_as_paranoid
toapp/models/user.rb
rails c
User.first
When trying to load a model that use this gem I got the following error
lib/active_record/scoping/default.rb:123:in default_scope': unknown keyword: :conditions (ArgumentError)
Any ideas on how to quickly fix it or when support will be considered for Rails 7
Thank you so much for the great work done on this gem.
The text was updated successfully, but these errors were encountered: