This is detective 🕵 Prathamesh reporting from the secret chambers of Rails.
We were busy investigating many 🐛🐛🐛🐛🐛 this week and I am happy to announce that we have successfully solved many mysterious cases 💪
Great 🔍 work by 22 detectives who solved mysterious cases this week. Also welcome to 4 new 🕵 in our growing list of contributors!
The Phusion team found out that Ruby, Rails and Rack applications are not affected by the recent security issue related to HTTProxy. Great 🕵 investigation!
If the records of the finder queries are already loaded, then Rails will use them instead of querying again.
This fixes an issue related to has and belongs to many associations failing when the association name and table name are the same.
This fixes a stack level too deep crash when a circular join on the same table is used with the current scope.
Before this change, virtual attributes not backed by the database would throw an error unless explicitly initialized. This change fixes it and also cleans up the implementation for virtual attributes.
Before this change, parameters sent via post requests would leak across requests in the Action Controller tests. This change prevents that by cleaning rack.input at the end of the request scrubbing.
This change allows collections which do not implement to_ary also to be used for rendering partials. It allows instances of Enumerator or Enumerable to be used for rendering partials.
That’s it from This Week in Rails! There were many other great contributions and investigations too numerous to list here, but feel free to check them out!
Until next week! 🕵 🔍 💪