# Has anyone created a UAT environment to go with test, develo

**URL:** <https://www.ruby-forum.com/t/has-anyone-created-a-uat-environment-to-go-with-test-develo/79927>\
**Category:** Rails\
**Created:** [March 11, 2006, 7:00pm UTC](https://www.ruby-forum.com/t/has-anyone-created-a-uat-environment-to-go-with-test-develo/79927 "2006-03-11T19:00:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ed655f/32.png) [@tma](https://www.ruby-forum.com/u/tma)\
**Post date:** [March 11, 2006, 7:00pm UTC](https://www.ruby-forum.com/t/has-anyone-created-a-uat-environment-to-go-with-test-develo/79927/1 "2006-03-11T19:00:13Z")

</div>

Has anyone tried to add another environment.

When developing I develop locally, deploy to a UAT environment for  
checking that my stuff fits into the organisations infrastucture and  
user testing and then deploy to production.

test and production are fine. The main problem is that development (I  
currently hack the the database.yml and drop the test branch to loose  
some local development mocks when deploying to UAT - not optimal.).

I am planning to create a UAT environment, with UAT yml and mocks etc.

Has anyone done this and does anyone know of any major gotchas ahead?

Thanks

Tom

---

<div class="post-metadata">

**Author:** ![tma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ed655f/32.png) [@tma](https://www.ruby-forum.com/u/tma)\
**Post date:** [March 11, 2006, 10:07pm UTC](https://www.ruby-forum.com/t/has-anyone-created-a-uat-environment-to-go-with-test-develo/79927/2 "2006-03-11T22:07:27Z")

</div>

On 3/11/06, Tom A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I am planning to create a UAT environment, with UAT yml and mocks etc.
> 
> Has anyone done this and does anyone know of any major gotchas ahead?

Works fine for me. Just create a new entry in database.yml called  
‘acceptance’, and copy your production.rb file (under  
config/environments) into acceptance.rb.  
You may want to use the ‘log\_level’ config statement to specify a  
different level of logging for UAT than you use in production.

---

<div class="post-metadata">

**Author:** ![tma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ed655f/32.png) [@tma](https://www.ruby-forum.com/u/tma)\
**Post date:** [March 12, 2006, 11:01am UTC](https://www.ruby-forum.com/t/has-anyone-created-a-uat-environment-to-go-with-test-develo/79927/3 "2006-03-12T11:01:48Z")

</div>

Thanks, works a treat.
