rails/rails — pull request #10765 by PlugIN73 (2013-05-26 17:03:10+00:00)
Title: replace class_eval by define_method in active_record/relation

The class_eval version is slower than the define_method version.
(http://tenderlovemaking.com/2013/03/03/dynamic_method_definitions.html)

modified: activerecord/lib/active_record/relation/query_methods.rb