Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/error_message_on/builder.rb

Instance Method Summary collapse

Instance Method Details

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



7
8
9
# File 'lib/error_message_on/builder.rb', line 7

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

#field_container(method, options = {}, &block) ⇒ Object



3
4
5
# File 'lib/error_message_on/builder.rb', line 3

def field_container(method, options = {}, &block)
  @template.field_container(@object_name,method,options,&block)
end