title: Access the except part of before_action in the controller itself
body: <p>So I have a controller, say</p>
  
  <pre><code>class RandomActionController &lt; ApplicationController
  </code></pre>
  
  <p>and I have a method <code>check_authorization</code> in <code>ApplicationController</code> that I use in <code>RandomActionController</code> as</p>
  
  <pre><code>before_action :check_authorization, except: [:create, :get_actions, ..]
  </code></pre>
  
  <p>Now in another action inside <code>RandomActionController</code>, I might be building an array of actions excluding ones in the <code>except</code> section of <code>check_authorization</code>, or whatever. My problem is, how do I get those actions as a hash/array or any other form?</p>