Use strings instead of symbols on calls to decorate_matching_attribute_types
The first thing this method does is run on the argument. This change passes in a string so we don't allocate a bunch of unnecessary extra strings by calling to_s on a symbol over and over.
Showing
想要评论请 注册 或 登录