Hello! 1. I have 2 domains site1.com and site2.com. The same application is installed on both, but I need it to use different database: db1 for site1.com and db2 for site2.com How can I do this? 2. And another question about subdomains. Usually I use something like that: link_to 'Link title', :sort => 'soft_field' - and this produces a link to the current url with additonal ?sort=sort_field parameter: http://site1.com/controller/?sort=-sort_field But this doesn't work on subdomains when I use subdomain fu, I get something like that: http:///controller/?sort=-sort_field What is wrong here and how can I corrent this?
Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

