How to make methods added to a class by including “nested” modules to be instance methods of that class when using the ActiveSupport::Concern feature?
I am using Ruby 1.9.2 and the Ruby on Rails v3.2.2 gem. After my previous question on how to “nest” the inclusion of modules when using the Ruby on Rails ActiveSupport::Concern feature , I would like to understand where I should state methods added to a class by including "nested" modules in order to make these instance methods of that class. That is, I have the following: class MyClass < ActiveRecord::Base include MyModuleA end module MyModuleA extend ActiveSupport::Concern included do include MyModuleB end end module MyModuleB extend ActiveSupport::Concern included do # def my_method # ... #