Forum: Ruby on Rails Ruby on Rails: Talk | Google Groups

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Heinrich Beck (Guest)
on 2009-02-11 18:13
(Received via mailing list)
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?
Eifion Bedford (Guest)
on 2009-02-11 19:54
(Received via mailing list)
Have you looked at the Railscast on subdomains?
http://railscasts.com/episodes/123-subdomains

Eifion
http://asciicasts.com
Twitter: eifion
This topic is locked and can not be replied to.