阅读背景:

如何在单独的文件中将模块包含到rake命名空间?

来源:互联网 

I have a module and a child class. Where i have all the functionality inside the module. and inside the child class I just call the methods from the module. I want this module to be linked with a rake task under a namespace, and these two files are in the same directory. RAILS_ROOT/lib. How do I do this? I am running Rails 3.0.3.I have a module and a child class. Where i have




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: