Class: ActionView::Helpers::FormBuilder
- Inherits:
-
Object
- Object
- ActionView::Helpers::FormBuilder
- Defined in:
- lib/error_message_on/builder.rb
Instance Method Summary collapse
- #error_message_on(method, options = {}) ⇒ Object
- #field_container(method, options = {}, &block) ⇒ Object
Instance Method Details
#error_message_on(method, options = {}) ⇒ Object
7 8 9 |
# File 'lib/error_message_on/builder.rb', line 7 def (method, = {}) @template.(@object_name, method, ()) end |
#field_container(method, options = {}, &block) ⇒ Object
3 4 5 |
# File 'lib/error_message_on/builder.rb', line 3 def field_container(method, = {}, &block) @template.field_container(@object_name,method,,&block) end |