title: How do I get to calling a method from dependencies.rb after calling a method from a gem?
body: <p>In order to find out more about how Ransack (a Gem) works I started debugging it, which brings me to the console with this prompt:</p>
  
  <pre><code>   28:   def index
     29:     debugger
  =&gt; 30:     @search = ControlCenter.ransack(params[:q])
  </code></pre>
  
  <p>I wanna go deeper, so I type</p>
  
  <pre><code>(byebug) step
  </code></pre>
  
  <p>which gives me this output:</p>
  
  <pre><code>[197, 206] in /Users/xx/.rvm/gems/ruby-2.3.0@xxx/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb
  
     201:       def const_missing(const_name)
  =&gt; 202:         from_mod = anonymous? ? guess_for_anonymous(const_name) : self
     203:         Dependencies.load_missing_constant(from_mod, const_name)
     204:       end
  </code></pre>
  
  <p>Looking at the ransack method:</p>
  
  <pre><code>def ransack(params = {}, options = {})
    Search.new(self, params, options)
  end
  </code></pre>
  
  <p>I just can't make sense of what's going on here. Aren't there calls in between? How am I ending up with ActiveSupport::Dependencies? Am I not following every call with <code>step</code>? </p>