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 actionpack/lib/action_view/helpers/form_options_helper.rb, line 755
        def value_for_collection(item, value)
          value.respond_to?(:call) ? value.call(item) : item.send(value)
        end
Register or log in to add new notes.