Class: ActionView::Helpers::FormBuilder
- Inherits:
-
Object
- Object
- ActionView::Helpers::FormBuilder
- Defined in:
- lib/image_thread/patches/form_helper.rb
Instance Method Summary collapse
Instance Method Details
#image_thread_field(method, options = {}) ⇒ Object
30 31 32 33 34 |
# File 'lib/image_thread/patches/form_helper.rb', line 30 def image_thread_field(method, = {}) [:thread] = self.object.send([method, 'id'].join('_')) [:dir] = ([:dir] || self.object.class.to_s).parameterize('_') @template.image_thread_field(@object_name, method, ) end |