# File lib/action_view/helpers/form_options_helper.rb, line 213 def options_from_collection_for_select(collection, value_method, text_method, selected = nil) options = collection.map do |element| [element.send(text_method), element.send(value_method)] end options_for_select(options, selected) end