rails/rails — pull request #12590 by laurocaetano (2013-10-18 21:58:35+00:00)
Title: Create a whitelist of methods to be delegated to Array.

Deprecate the delegation of `Array` methods for association. Only the methods that are in the whitelist would be delegated.

This PR completes the work initiated by this commit: https://github.com/rails/rails/commit/1a40be02113287d9a003f8224e91b9f623857f4b

Also it is a alternative implementation for https://github.com/rails/rails/pull/12227.

I'm not sure if the whitelist is correct, for that reason I'd :heart: your review.

Thanks!