title: Rails / Mina Gem Creating Custom task to do seeding
body: <p>I'm using the mina gem since 2 weeks and I've searched online to find a nice way to do my seeding in my rails staging.</p>
  
  <p>The seed must be a task so it is not called every time a deploy is done.</p>
  
  <p>What I already have is the following:</p>
  
  <pre><code>desc "Seed data to the database"
  task :seed do
      queue "bundle exec rake db:seed RAILS_ENV=staging"
  end
  </code></pre>
  
  <p>Do you think this is correct, I know for 100% that it works if I just type the command on the server.</p>
  
  <p>Kind regards. </p>