# White Labeling (Easily Rebranding) Rails Applications

**URL:** <https://www.ruby-forum.com/t/white-labeling-easily-rebranding-rails-applications/184574>\
**Category:** Rails\
**Created:** [March 4, 2010, 7:31pm UTC](https://www.ruby-forum.com/t/white-labeling-easily-rebranding-rails-applications/184574 "2010-03-04T19:31:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 4, 2010, 7:31pm UTC](https://www.ruby-forum.com/t/white-labeling-easily-rebranding-rails-applications/184574/1 "2010-03-04T19:31:08Z")

</div>

Has anyone figured out the best way to white label a Rails app / allow  
an app to be easily globally rebranded e. g. via configuration?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 5, 2010, 9:44am UTC](https://www.ruby-forum.com/t/white-labeling-easily-rebranding-rails-applications/184574/2 "2010-03-05T09:44:32Z")

</div>

Sure, provide a way for admins to upload a CSS file and support  
subdomains/hostnames to load the correct CSS files. If you need to load  
different data for each one, simply have a table of supported white  
label  
sites/customers and then have a field in each table (indexed) for that  
customer\_id.

Cheers,

Andy

–  
Andy J.  
[http://andyjeffries.co.uk/](http://andyjeffries.co.uk/)#rubyonrails #mysql #jquery  
Registered address: 64 Sish Lane, Stevenage, Herts, SG1 3LS  
Company number: 5452840
