Hi, I'm stuck in a problem when I tried to monkey patch the 'value' method from ActionView::Helpers::FormHelper::InstanceTagMethods::ClassMethods

Some weird things happen I try this:

>  ActionView::Helpers::FormHelper::InstanceTagMethods::ClassMethods
NameError: uninitialized constant ActionView::Helpers::FormHelper::InstanceTagMethods::ClassMethods
>  ActionView::Helpers::FormHelper::InstanceTagMethods.included_modules
[]
> ActionView::Helpers::FormHelper::InstanceTagMethods.methods.include? 'value' # yields false > ActionView::Helpers::FormHelper::InstanceTagMethods.instance_methods.include? 'value' # yields false

Why do these strange issues happen?

Maybe this is related to 'extend ActiveSupport::Concern', but since I don't understand what is happening here, I'm asking if someone could help me to understand this issues.

Anyone?

Thanks in advance,

Rodrigo.

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to