I have seen examples where a task has parameters and a dependency task like:
task :name, [:first_name, :last_name] => [:pre_name] do |t, args| args.with_def