joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Aug-30 17:07 UTC
launching part of a site
Say I want to launch part of a site that only has a couple parts of the site active (so, a couple controllers would be active and the rest would not be). What would be the best way of doing that? Creating a branch in subversion for the partial launch? And then as I do updates, merge the changes back and forth between the trunk and the branch? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
A branch is not a bad idea. Alternatively, you could just customize your routes to only route requests to the controllers you want visible... and get rid of the generic routes like: map.connect '':controller/:action/:id'' Tom On 8/30/06, joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Say I want to launch part of a site that only has a couple parts of the > site active (so, a couple controllers would be active and the rest > would not be). What would be the best way of doing that? Creating a > branch in subversion for the partial launch? And then as I do updates, > merge the changes back and forth between the trunk and the branch? > > > > >-- Tom Davies http://atomgiant.com http://gifthat.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Branching is the best idea, though if you want something quick and dirty you could simply make all your controller methods protected. On 30/08/06, joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Say I want to launch part of a site that only has a couple parts of the > site active (so, a couple controllers would be active and the rest > would not be). What would be the best way of doing that? Creating a > branch in subversion for the partial launch? And then as I do updates, > merge the changes back and forth between the trunk and the branch? > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---