Module: ActionView::Helpers::FormOptionsHelper

Defined in:
lib/enumerated_attribute/rails_helpers.rb

Overview

form_options_helper.rb

Instance Method Summary collapse

Instance Method Details

#enum_select(object, method, options = {}, html_options = {}) ⇒ Object

def select



54
55
56
# File 'lib/enumerated_attribute/rails_helpers.rb', line 54

def enum_select(object, method, options={}, html_options={})
	InstanceTag.new(object, method, self, options.delete(:object)).to_enum_select_tag(options, html_options)
end