Hi,

I was wondering ones do customisations per client in a Rails app?
Clients (businesses) do not want to bother with it and usually send their
own "layout" and stuff. So we incorporate that into the app.

More information:

   - every client obtains a subdomain;
   - subdomain might get some of the pages customised;
   - when a client is on the main (www) subdomain, no customisation applies,
   but same functionality is available;

I was thinking about overriding the lookup mechanism for the views to have
structure like:
views/dashboards
index.html.erb
views/subdomain1/index,html.erb

But don't like it much as it is not very flexible (especially for assets per
client) and will get harder and harder to maintain and test.

Have you done it before?
Any recommendations?

Cheers,
Dmytrii Nagirniak
http://ApproachE.com <http://www.ApproachE.com>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to