Created
November 10, 2008 23:32
-
-
Save jbarnette/23689 to your computer and use it in GitHub Desktop.
This file contains 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
namespace :db do | |
task :migrate => :clear_load_paths do | |
Dependencies.load_paths = @old_load_paths | |
end | |
task :clear_load_paths do | |
@old_load_paths = Dependencies.load_paths | |
Dependencies.load_paths = [] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment