That will allow you to host two apps via a single config file. To separate
out your MVCs, try this:

-- myapp.rb --

%w(camping).each { |lib| require lib }

Camping.goes :MyApp

%w(helpers models views controllers).each { |lib| require lib }

module MyApp

-- models.rb --

module MyApp::Models

-- --

And so on for helpers.rb, views.rb and controllers.rb
Camping-list mailing list

Reply via email to