Class | ActionView::Helpers::FormBuilder |
In: |
lib/simple_form/action_view_extensions/builder.rb
|
Parent: | Object |
collection_select | -> | original_collection_select |
Override default Rails collection_select helper to handle lambdas/procs in text and value methods, so it works the same way as collection_radio_buttons and collection_check_boxes in SimpleForm. If none of text/value methods is a callable object, then it just delegates back to original collection select. |