rails/rails — pull request #18279 by eileencodes (2014-12-31 19:58:52+00:00)
Title: Refactoring of add_constraints in AssociationScope

This is a long refactoring (been going a few months) lead by @tenderlove to clean up the `#add_constraints` method in `AssociationScope` class. There's more work to do but we feel it's ready to be merged into master.

Also, Happy New Year! :tada: :smile_cat: