method
collection_select
v3.2.1 -
Show latest stable
- Class:
ActionView::Helpers::FormBuilder
collection_select(method, collection, value_method, text_method, options = {}, html_options = {})public
No documentation available.
# File actionpack/lib/action_view/helpers/form_options_helper.rb, line 645
def collection_select(method, collection, value_method, text_method, options = {}, html_options = {})
@template.collection_select(@object_name, method, collection, value_method, text_method, objectify_options(options), @default_options.merge(html_options))
end