rails/activerecord/lib
eileencodes e15a23fa35 Fix pool_from_any_process to use most recent spec
If a process is forked more than once, the pool was grabbing the oldest
spec, not the most recent spec. This wasn't noticed before because most
folks are lilely forking the process only once.

If you're forking the process multiple times however the wrong spec name
will be returned and an incorrect connection will be used for the
process.

This fixes the issue by reversing the list of spec names so we can grab
the most recent spec rather than the oldest spec.
2017-01-13 16:34:01 -08:00
..
active_record Fix pool_from_any_process to use most recent spec 2017-01-13 16:34:01 -08:00
rails/generators self. is not needed when calling its own instance method 2017-01-05 19:58:52 +09:00
active_record.rb Bump license years for 2017 2016-12-31 08:34:08 -05:00