-
Notifications
You must be signed in to change notification settings - Fork 695
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
Audited gem is partially incompatible with Rails 7.2.x and the Rails team insist you fix it #725
Comments
BUMP To my absolute horror the Rails maintainers have closed the issue saying it must be fixed in the gem, even though I can't see how you could possibly do that. This is an urgent issue. Audited is incompatible with Rails 7.2 at this time, for certain use cases that worked fine for many years prior. |
(Edited) Rails maintainers have clarified their position and point to documentation that indicates Audited may have been relying on undefined behaviour previously. https://api.rubyonrails.org/classes/ActiveRecord/Inheritance/ClassMethods.html
...they recommend defining If you're happy with that approach, I am happy to do that work and send a PR for the change. |
FYI, we don't insist anything and this sort of phrasing isn't a good way to get project maintainers help. |
@byroot I don't care how my words land, I just want this fixed, and I'm happy to do the work to do so, whichever project that lands in. My numerous PRs to fix open source projects prior speak for themselves. I contribute to this community routinely. I do not have time for politics. |
Well you should, because I was very close to just ignore you on the other issue because of your tone. And I could fix your issue in 2 minutes or even give you a one line snippet you could include in an initializer that would fix your issue. But since you don't care about how your words land, I guess I don't care if your problem is fixed. |
The other issue being rails/rails#52715, which you closed as "won't fix", saying that the gem must do it, but that's not "insisting"? What word would you use for that, then?
Exactly which part of which comment, please? A link would help. Would be this be the part where I produced a tight replication test case, explained everything in detail in a very well formatted issue precisely to the Rails guidelines required template? Or was it in rails/rails#52715 (comment), where I hoped for a resolution and conversed genially? Or would it be after you closed the issue saying you were not going to do anything on the Rails side?
If you mean a work-around, it's clearly trivial to add:
...in I do not have time for politics. |
Oh and incidentally - and apologies, I should have said this much sooner - could we perhaps take this off the Audited gem's issue?! I'm sure the maintainers don't want to plough through this ridiculous bickering. You can contact me on |
After trying many approaches, I decided there was no good way to automate this and it essentially cannot be fixed. See #726. This describes three coherent solution options (out of many intermediate hacks not covered!) all of which have problems - a maintainer might in fact decide that one of those is acceptable, but otherwise, a warning in |
Please see rails/rails#52715 - this looks more to me like a Rails bug than an Audited gem bug, which is why I've filed the report over there. There's a small chance, though, that it's some issue with the inner workings of Audited.
Issue posted here really as an FYI, but of course, feel free to close if you're confident that it's a Rails problem.
The text was updated successfully, but these errors were encountered: