This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config = Rails::Configuration.new | |
database = config.database_configuration[RAILS_ENV]["database"] | |
username = config.database_configuration[RAILS_ENV]["username"] | |
password = config.database_configuration[RAILS_ENV]["password"] | |
namespace :db do | |
#rake db:dump | |
desc "dumps the database to a sql file" | |
task :dump => :environment do |