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



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

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