ionia-corporation/active_force — pull request #84 by DanOlson (2014-09-29 15:34:51+00:00)
Title: Rails4-style conditional has_many associations

I'd like to see what you guys think of this. I ran into an issue where I wanted to define an association that would eager load one of its associations. The existing implementation of declaring conditional associations wouldn't allow for it, so I offer this as an alternative.