rails/rails — comment on commit 992b3b5e065237986d6972e27fc109b05ab84e00
File:  line 0
By amalagaura:

@paul That particular method is called on instantiation of every single active record object! So it is worth optimizing.

I was looking at some examples and "#{attr}=" is only slightly more readable that attr+'='

I think you should put in your pull request with the most heavily optimized to_sym version with a link to your gist. It should be to_sym since it would have to do that twice too.