Have you looked at the Railscast on subdomains? http://railscasts.com/episodes/123-subdomains
Eifion http://asciicasts.com Twitter: eifion On Wed, Feb 11, 2009 at 3:59 PM, Heinrich Beck <[email protected]> wrote: > > This is more an architectural question.... > > I am looking to create a domain that sells widgets (as an example) > > widgets.com > > Now I have three sales reps, that each sell different kinds of > widgets, and do not need to know about each other. > > larry.widget.com > > moe.widget.com > > curley.widget.com > > I don't want to repeat myself (of course!) with the shopping cart > logic or the transactional logic. > > So, should I simply make a view for each user and then direct the > requests to the appropriate view? or is there a better way of doing > this? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

