> 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?


This problem was resolved by hacking subdomain_fu as it's described in
this post:
http://www.portallabs.com/blog/2008/10/22/fixing-subdomain_fu-with-named-routes/

But I still don't know how to use different databases for different
domains. Any help is highly appreciated.
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to