title: alias_method chain issue in application controller
body: <p>I'm using sorcery for login. In my application controller i'm overwriting sorcery logged_in? method by using alias_method chain as follows.</p>
  
  <pre><code>alias_method_chain :logged_in?, sorcery
  
  protected:
  
    def logged_in?
      sorcery_logged_in? &amp;&amp; (current_user.customer? || current_user.activated?)
    end
  </code></pre>
  
  <p>Finally am ending up with  "undefined method <code>sorcery_logged_in?' for class</code>ApplicationController'" error</p>
  
  <p>Can anyone help me whats the mistake here.</p>