# Not to expose the code in production

**URL:** <https://www.ruby-forum.com/t/not-to-expose-the-code-in-production/167661>\
**Category:** Deployment\
**Created:** [May 11, 2009, 9:15am UTC](https://www.ruby-forum.com/t/not-to-expose-the-code-in-production/167661 "2009-05-11T09:15:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![syedarif](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@syedarif](https://www.ruby-forum.com/u/syedarif)\
**Post date:** [May 11, 2009, 9:15am UTC](https://www.ruby-forum.com/t/not-to-expose-the-code-in-production/167661/1 "2009-05-11T09:15:09Z")

</div>

Rails is rocking!!

Any idea on how to hide the rails code in the form of some executable in  
the production environment, as it is highly vulnerable and the code is  
getting exposed to the outer world.

Any alternative ways??? if not a direct way…
