Help understanding Rails 3 source code black magic

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.


Thanks in advance,