开发者

Where i put my module/class in ROR MVC architecture

I have made a module named

module ConstantModelName
 AIRPORT =  "Airport"
end

It contains all the constant values used in my application.

So where should i place this module in my application.

开发者_如何学编程

currently i placed it in lib folder in my app.

Give your valuable comments.

Thanks


lib folder is the correct place for it

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜