# Migration question

**URL:** <https://www.ruby-forum.com/t/migration-question/132976>\
**Category:** Rails\
**Created:** [March 26, 2008, 11:33am UTC](https://www.ruby-forum.com/t/migration-question/132976 "2008-03-26T11:33:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Milke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/838e76/32.png) [@Mark\_Milke](https://www.ruby-forum.com/u/Mark_Milke)\
**Post date:** [March 26, 2008, 11:33am UTC](https://www.ruby-forum.com/t/migration-question/132976/1 "2008-03-26T11:33:58Z")

</div>

Hi everyone,

is there a best practice for doing migrations of RoR Applications? Is  
there for instance a tool, that will allow me to see the difference  
between my development server and the production server and allow me  
to migrate differences?

Thanks,

Mark

---

<div class="post-metadata">

**Author:** ![Mark\_Milke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/838e76/32.png) [@Mark\_Milke](https://www.ruby-forum.com/u/Mark_Milke)\
**Post date:** [March 26, 2008, 11:51am UTC](https://www.ruby-forum.com/t/migration-question/132976/2 "2008-03-26T11:51:42Z")

</div>

On 26 Mar 2008, at 10:33, Mark Milke wrote:

> Hi everyone,
> 
> is there a best practice for doing migrations of RoR Applications? Is  
> there for instance a tool, that will allow me to see the difference  
> between my development server and the production server and allow me  
> to migrate differences?

By migrations, do you mean database schema changes? In which case you  
should just use rails’ migrations in which case it should all just  
fall out in the wash.

Fred

---

<div class="post-metadata">

**Author:** ![Mark\_Milke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/838e76/32.png) [@Mark\_Milke](https://www.ruby-forum.com/u/Mark_Milke)\
**Post date:** [March 26, 2008, 12:50pm UTC](https://www.ruby-forum.com/t/migration-question/132976/3 "2008-03-26T12:50:35Z")

</div>

> > is there a best practice for doing migrations of RoR Applications? Is  
> > there for instance a tool, that will allow me to see the difference  
> > between my development server and the production server and allow me  
> > to migrate differences?

> By migrations, do you mean database schema changes?

By migrations I mean application migrations, i.e. presentation (html,  
css, js), application (Ruby), database (yes, database schemas).

Is there a best practice for this?

Mark

---

<div class="post-metadata">

**Author:** ![Mark\_Milke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/838e76/32.png) [@Mark\_Milke](https://www.ruby-forum.com/u/Mark_Milke)\
**Post date:** [March 26, 2008, 1:30pm UTC](https://www.ruby-forum.com/t/migration-question/132976/4 "2008-03-26T13:30:12Z")

</div>

Subversion + Capistrano

---

<div class="post-metadata">

**Author:** ![Mark\_Milke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/838e76/32.png) [@Mark\_Milke](https://www.ruby-forum.com/u/Mark_Milke)\
**Post date:** [March 26, 2008, 1:31pm UTC](https://www.ruby-forum.com/t/migration-question/132976/5 "2008-03-26T13:31:59Z")

</div>

On 26 Mar 2008, at 11:49, Mark Milke wrote:

> By migrations I mean application migrations, i.e. presentation (html,  
> css, js), application (Ruby), database (yes, database schemas).
> 
> Is there a best practice for this?

Use some type of source control (subversion, git etc…) To make this  
even easier use something like capistrano to automate this.

Fred
