0.0
No commit activity in last 3 years
No release in over 3 years
DB_ENV=staging ./script/server
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

> 2.3.0
 Project Readme

About

A Rails development utility to help you quickly switch between configured databases.

Why and How

Sometimes you may want to run your local copy of app against staging DB:

rails2app$ DB_ENV=staging ./script/server

starts server with default RAILS_ENV and database connection pointing to staging: as configured in database.yml

TODO

  • support rails3
  • tests

Also

make sure you know what you're doing: running development migration on production database might not be a good idea! Use it on your own risc!