Answer the question
In order to leave comments, you need to log in
Modular structure on rails. switcher question
How a two (or more) modular structure of an application is organized on rails - backend and frontend, for example, using some common models and settings, but nevertheless differing in their controllers and views. So that generation through scaffold continues to correctly generate models.
Example on Zend Framework
Answer the question
In order to leave comments, you need to log in
app
|__controllers
|____foo
|______one_controller.rb
|____bar
|______two_controller.rb
|____baz
|______three_controller.rb
class Foo::OneController
class Bar::TwoController
class Baz::ThreeController
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question