阅读背景:

什么是rails项目中模块的好地方

来源:互联网 

I'm adding some non-trivial functionality in my rails application and it needs to be in a module and not one of the auto generated models. I'd like a few suggestions on where the file containing the module should go (currently I've added a 'code' directory on the same level as 'models' and 'views' - but I don't know that that's a strong choice).I'm adding some non-trivial functionality in my




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

分享到: