Use public_send in value_for_collection
Avoid exposing private methods in view's helpers. Fixes https://github.com/rails/rails/issues/33546
Showing
想要评论请 注册 或 登录
Avoid exposing private methods in view's helpers. Fixes https://github.com/rails/rails/issues/33546