rails/rails — pull request #17461 by agius (2014-10-31 18:13:26+00:00)
Title: Use public_send for form tags

I ran into this bug:

# raises ArgumentError, but works as expected with this change
fields_for OpenStruct.new(my_hash), :my_obj do |mo|
mo.text_field :format
end

Fairly edge-case, but I think using `public_send` for form tags rather than `send` is a better practice.