title: Rails: rake task with arguments not working
body: <p>Here is my rake task</p>
  
  <pre><code>namespace :users do
    task :change_role, [:role] =&gt; :environment do |t, args|
      puts args.role
    end
  end
  </code></pre>
  
  <p>I am calling it like this:</p>
  
  <p><code>rake users:change_role["role"]</code> but I am getting this error <code>no matches found: users:change_role["role"]</code></p>