method

value_for_collection

Importance_0
value_for_collection(item, value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/form_options_helper.rb, line 804
        def value_for_collection(item, value)
          value.respond_to?(:call) ? value.call(item) : item.public_send(value)
        end
Register or log in to add new notes.