diff --git a/templates/lib/tasks/annotate.rake b/templates/lib/tasks/annotate.rake index 066b098..dad051d 100644 --- a/templates/lib/tasks/annotate.rake +++ b/templates/lib/tasks/annotate.rake @@ -1,6 +1,6 @@ namespace :annotate do desc 'Annotate your models!' - task :models, :needs => :environment do |t, args| + task models: :environment do |t, args| exec 'annotate --exclude tests,fixtures,factories -p before' end end \ No newline at end of file