# Empty result set after migration

**URL:** <https://www.ruby-forum.com/t/empty-result-set-after-migration/172896>\
**Category:** Rails\
**Created:** [July 29, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/empty-result-set-after-migration/172896 "2009-07-29T16:46:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RVince](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/4491bb/32.png) [@RVince](https://www.ruby-forum.com/u/RVince)\
**Post date:** [July 29, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/empty-result-set-after-migration/172896/1 "2009-07-29T16:46:23Z")

</div>

Someone sent me an app with migrations.

I am using sqlite for my db in test. I succesfully run

rake db:migrate RAILS\_ENV=test

And when I go to run this app, get “empty result set.” Is tehre  
something I am missing here?

---

<div class="post-metadata">

**Author:** ![RVince](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/4491bb/32.png) [@RVince](https://www.ruby-forum.com/u/RVince)\
**Post date:** [July 29, 2009, 5:07pm UTC](https://www.ruby-forum.com/t/empty-result-set-after-migration/172896/2 "2009-07-29T17:07:29Z")

</div>

On Wed, Jul 29, 2009 at 7:34 AM, RVince[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Someone sent me an app with migrations.
> 
> I am using sqlite for my db in test. I succesfully run
> 
> rake db:migrate RAILS\_ENV=test

OK, so you created/updated your test database

> And when I go to run this app, get “empty result set.” Is tehre  
> something I am missing here?

And what, you’re “running” it in test mode? Or running tests?

You need to describe more precisely what you’re doing, and why…

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid  
twitter: @hassan
