lib/tasks/migrations.rake in couchrest_model-2.0.0.beta2 vs lib/tasks/migrations.rake in couchrest_model-2.0.0

- old
+ new

@@ -1,21 +1,21 @@ # # CouchRest Migration Rake Tasks # -# Use at own risk! These are not tested yet! +# See the CouchRest::Model::Utils::Migrate class for more details. # namespace :couchrest do desc "Migrate all the design docs found in each model" task :migrate => :environment do - CouchRest::Model::Migrate.load_all_models - CouchRest::Model::Migrate.all_models + CouchRest::Model::Utils::Migrate.load_all_models + CouchRest::Model::Utils::Migrate.all_models end desc "Migrate all the design docs " task :migrate_with_proxies => :environment do - CouchRest::Model::Migrate.load_all_models - CouchRest::Model::Migrate.all_models_and_proxies + CouchRest::Model::Utils::Migrate.load_all_models + CouchRest::Model::Utils::Migrate.all_models_and_proxies end end