search for: find_by_domain

Displaying 1 result from an estimated 1 matches for "find_by_domain".

2007 Oct 31
7
Question for rails multidomain application design
...om/public/home http://www.second.com/public/home http://www.third.com/public/home routed to RoR application: /www.first.com/public/home /www.second.com/public/home /www.third.com/public/home RoR application controller could read the home data from model finding by domain param (es. @home = Home.find_by_domain(params[:domain]) I would like to know if it is possible (and how can I solve) this kind of routing (maybe using Apache internal rewrite ?). Thanks in advance ! ... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups...