On Fri, Oct 21, 2011 at 11:21 AM, OnRail <[email protected]> wrote:
> HI All,, > > I have just installed rails. Also I have installed spree,spree-multi- > domains gems. > > I could run the sample spree app but on the admin of spree could not > find facility to add multi domains, I have googled but could not find > how to create multi domains using rails or spree. If there are any > ruby gems to achieve or any other way please let me know. Below is > what I wanted exactly > > 1) A parent domain (ex:www.family.com) with user who adminsters the > entire system.He should be able to add different sub sites/domains > ( ex: www.father.family.com, www.mom.family.com, www.son.family.com). > 2) All the sub site/domain needs to have a site administrator who can > only configure/modfiy his site details.(not the others) > > 3) The content of each subsite is stored in same single database > against the site name. > > Please let me know how to achieve this.am In a way stuck > You definitely can. Check out section 3.9 of this: http://guides.rubyonrails.org/routing.html Of course you are up for some work ;) Also, not sure if it would help in your case, but using the rails mountable engines to modularize might help, and that also should work into your routing schema (i.e. see the Railscast on mountable engines). > > Thanks, > NewROR User > > -- > 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. > > -- 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.

