I think it is rather problem of solving question how to configure
virtualHost not rather rails app itself....

It is easy for instance with Passenger and apache, you configure
virtualHost's files for appropriate domains and pass on every same
home folder of your app to them

In app core you see what is your request url and you know how to
act...

On 24 Sty, 17:24, eugenio <[email protected]> wrote:
> what is the easiest way to achieve that result?
> i would like to keep controllers and models the same for all the
> "applications", which, in fact, are the same. They only appear
> different (the views, the css, and a parameter of the query that will
> be sent to the database).
> I could separate the rails app, but, doing that, i will need to
> replicate every common change (a bug fix in a model method for
> example) to all of them. is there a better way?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to