rails/rails — pull request #15863 by taish (2014-06-22 19:18:06+00:00)
Title: change methods name to be more suitable

While not big problem

In my changing
this mixin instances using class_eval is created by generated_association_methods that return module
https://github.com/rails/rails/blob/master/activerecord/lib/active_record/core.rb#L181

so I think module_eval is more suitable than class_eval