rails/rails — pull request #5819 by jmbejar (2012-04-12 03:43:25+00:00)
Title: Define array methods in ActiveRecord::Associations::CollectionProxy

Define array methods in ActiveRecord::Associations::CollectionProxy if they are not defined or delegated.
In this way, we have a performance boost invoking some array methods which are not defined in CollectionAssociation.