Sachin R
Sachin R

Reputation: 11876

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

Upvotes: 0

Views: 312

Answers (1)

Ritesh Choudhary
Ritesh Choudhary

Reputation: 782

lib folder is the correct place for it

Upvotes: 3

Related Questions