Rails Dispatch

Rails news delivered fresh

Presented by Engine Yard

View Question

Vote on questions you’d like to see answered by the expert contributors

Signup to ask questions or vote for the questions you’d like to see answered.

Hi There!

I’d be really interested in understanding how to structure a modular rails app with mostly shared model? I have a string need for control/view modules that depend on the same model.

Assume a CRM with a well structured and normalised DB as the the shared “Model”

Then there are web client view/controllers. admin view/controllers, api 1.0, api 2.0, mobile api, etc..

Any advice? Are engines the way to go or am I overthinking it?

Asked June 12, 2011