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
<iheinrich-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---