Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Dereference arel_table aliases between requests #18673
Because Arel::Table has mutable state (which I assume is needed for alias tracking) the memoized instance should not persist across different threads.
That's too bad @sgrif I suspect
This is still a subtle vector for a memory leak, so I'd like to resolve it if we could...
I just had a look through the ActiveRecord source and