# Launching part of a site

**URL:** <https://www.ruby-forum.com/t/launching-part-of-a-site/66981>\
**Category:** Rails\
**Created:** [August 30, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/launching-part-of-a-site/66981 "2006-08-30T19:21:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 30, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/launching-part-of-a-site/66981/1 "2006-08-30T19:21:46Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 30, 2006, 8:07pm UTC](https://www.ruby-forum.com/t/launching-part-of-a-site/66981/2 "2006-08-30T20:07:54Z")

</div>

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, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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 D.

[http://atomgiant.com](http://atomgiant.com)  
[http://gifthat.com](http://gifthat.com)

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 30, 2006, 8:29pm UTC](https://www.ruby-forum.com/t/launching-part-of-a-site/66981/3 "2006-08-30T20:29:56Z")

</div>

Branching is the best idea, though if you want something quick and dirty  
you  
could simply make all your controller methods protected.
