Aren’t the include statements just so that you can merge the namespaces?
Shouldn’t I just be able to do something like: RequiredModule::Constant
to access that constant for the module that was required?
In any case, I have added the “include RequiredModule” in my
caller_helper.rb class, and I still can’t access the constant.
Andrew S. wrote:
On 2/13/07, Farhad [email protected] wrote:
Posted via http://www.ruby-forum.com/.
Add include statements into your application_helper.rb to give access to
modules/classes that you have required in your environment.rb.