# File lib/erubis/helpers/rails_form_helper.rb, line 171 def pp_collection_select(object, method, collection, value_method, text_method, options={}, html_options={}) collection2 = collection.collect { |e| [e.__send__(value_method), e.__send__(text_method)] } return _pp_select(object, method, collection2, nil, options, html_options) end