ryandotsmith/queue_classic — pull request #77 by azhao1981 (2012-06-01 06:50:31+00:00)
Title: db_url  get DATABASE_URL before QC_DATABASE_URL should be better

I try queue_classic following the README.

And export QC_DATABASE_URL="postgres://username:password@localhost/queue_classic_test" has been run.
So, when I go to rails , I run rake db:migrate . It success but not create database on my project 's database but on quenue_classic_test.
So I think db_url should get DATABASE_URL first but not QC_DATABASE_URL because DATABASE_URL 's scope is in rails's project only.