title: Using a rake task that accepts parameters as a prerequisite
body: <p>According to <a href="http://rake.rubyforge.org/files/doc/rakefile_rdoc.html" rel="noreferrer">http://rake.rubyforge.org/files/doc/rakefile_rdoc.html</a>, you can create a task that accepts parameters and also has prerequisites:</p>
  
  <pre><code>task :name, [:first_name, :last_name] =&gt; [:pre_name] do |t, args|
  </code></pre>
  
  <p>But what if :pre_name is a task that also accepts parameters? What is the syntax for passing parameters to :pre_name when it is used as a prerequisite?</p>