# Migration problem in rail 2.0 and observers

**URL:** <https://www.ruby-forum.com/t/migration-problem-in-rail-2-0-and-observers/157124>\
**Category:** Rails\
**Created:** [January 7, 2009, 5:06pm UTC](https://www.ruby-forum.com/t/migration-problem-in-rail-2-0-and-observers/157124 "2009-01-07T17:06:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marmolin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/71e660/32.png) [@marmolin](https://www.ruby-forum.com/u/marmolin)\
**Post date:** [January 7, 2009, 5:06pm UTC](https://www.ruby-forum.com/t/migration-problem-in-rail-2-0-and-observers/157124/1 "2009-01-07T17:06:30Z")

</div>

I have a somewhat confusing error !!  
U  
I am using ruby 1.8.7 rails 2.0 and text mate and have observers that  
are defined in cofiguration file as  
config.active\_record.observers = :flock\_observer, :text\_observer  
I cannot use migrate when this configuration is active, I had to delete  
it to be able to migrate. After the migration I add the configuration  
again and all is OK!  
What could be the reason for that behavior ?  
How could one fix it ?
