skip_before_action and Rails 5
<p>I just upgraded to Rails 5 and everything went pretty smoothy but for no apparent reason a method that is called after <code>skip_before_action</code> is not allowing rspec to run with this message</p>

<blockquote>
  <p>Before process_action callback :redirect_heroku_user has not been defined (ArgumentError)</p>
</blockquote>

<p>It is super strange because it works just fine on rails 4. Here is my code:</p>

<pre><code># application_controller.rb
def redirect_heroku_user
  redirect_to root_path if heroku_user?
end 

# some_controller.rb
skip_before_action :redirect_heroku_user, only: :edit
</code></pre>