title: undefined method `caches_action' for ApplicationController:Class
body: <p>I'm trying to upgrade to rails 4 beta 1, but I've a bit of a problem.</p>
  
  <p>This is, in short, how my application controller looks like.</p>
  
  <pre><code>class ApplicationController &lt; ApplicationController
    caches_action :method
  end
  </code></pre>
  
  <p><code>caches_action</code> is moved out to it's own gem in Rails 4, so including the gem should fix the problem.</p>
  
  <pre><code>gem "actionpack-action_caching", github: "rails/actionpack-action_caching"
  </code></pre>
  
  <p>But when I run my requests specs or visit the application in a browser I get this error.</p>
  
  <pre><code>app/controllers/application_controller.rb:3:in `&lt;class:ApplicationController&gt;': undefined method `caches_action' for ApplicationController:Class (NoMethodError)
  </code></pre>
  
  <p>Why is that?</p>
  
  <ul>
  <li>Rails 4.0.0.beta1</li>
  <li>Ruby 2.0.0</li>
  <li>Rspec 2.13.1</li>
  </ul>