Skip to content

Commit

Permalink
remove drop_undefined_indexes deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurnn committed Aug 5, 2013
1 parent b810a78 commit 85e1466
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/mongoid/railties/database.rake
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ namespace :db do
::Rails::Mongoid.remove_undefined_indexes
end

desc "DEPRECATED alias for remove_undefined_indexes"
task :drop_undefined_indexes => :remove_undefined_indexes do
puts "This task is DEPRECATED. Use remove_undefined_indexes in the future."
end

desc "Remove the indexes defined on your mongoid models without questions!"
task :remove_indexes => :environment do
::Rails.application.eager_load!
Expand Down

0 comments on commit 85e1466

Please sign in to comment.