Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/enum_column/active_record_helper.rb

Instance Method Summary collapse

Instance Method Details

#enum_radio(method, options = { }) ⇒ Object



32
33
34
# File 'lib/enum_column/active_record_helper.rb', line 32

def enum_radio(method, options = { })
  @template.enum_radio(@object_name, method, options)
end

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



28
29
30
# File 'lib/enum_column/active_record_helper.rb', line 28

def enum_select(method, options = { })
  @template.enum_select(@object_name, method, options)
end