title: How can I run controller action with whenever gem in Rails?
body: <p>for example I have a controller "Posts" and action "create". Can I run it from terminal? </p>
  
  <p>I want to use <code>whenever</code> gem:</p>
  
  <pre><code>every 2.hours do
      # I want to run posts#index
  end
  </code></pre>
  
  <p>How can I do it?</p>