Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use Rails.root instead RAILS_ROOT in rake task for Rails 3

  • Loading branch information...
commit 89ac39bd73a37faa055a9ce83a2e93802d3b4ef3 1 parent ca178cf
Herman Moreno Valle authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/tasks/yaml_db_tasks.rake
View
2  lib/tasks/yaml_db_tasks.rake
@@ -11,7 +11,7 @@ namespace :db do
end
def dump_dir(dir = "")
- "#{RAILS_ROOT}/db#{dir}"
+ "#{Rails.root}/db#{dir}"
end
desc "Dump contents of database to db/data.extension (defaults to yaml)"
Please sign in to comment.
Something went wrong with that request. Please try again.