Module: ActionView::Helpers::FormOptionsHelper
- Defined in:
- lib/enum/active_record_helper.rb
Overview
form_options_helper.rb
Instance Method Summary collapse
Instance Method Details
#enum_select(object, method, options = {}, html_options = {}) ⇒ Object
def select
22 23 24 |
# File 'lib/enum/active_record_helper.rb', line 22 def enum_select(object, method, ={}, ={}) InstanceTag.new(object, method, self, .delete(:object)).to_enum_select_tag(, ) end |