Drilling into class hierarchy of rails application? (ActionController::Base)

Drilling into class hierarchy of rails application.

I want to drill into [ActionController::Base] and explore the class.

I highlight [ActionController::Base] from my application_controller.rb
class ApplicationController < ActionController::Base

[View] -> [Type Hiearchy]

Cool,  I see one class (ActionController::Base) and a bunch of modules.
Just what I wanted.

Then Highlight ActionController::Base (Multiple Declarations)
   [Jump to Source]

This file appears
# Created by IntelliJ IDEA.
# User: romeo
# Date: Dec 15, 2007

This is a stub used for indexing

module ActionController
class Base
# stub

But I'm trying to get to

require "action_controller/log_subscriber"

module ActionController
class Base < Metal


Help please.
Thank you.

I do believe RubyMine is the best of kind I've found so far.
I'm expecting to purchase it when 2.5 is released.

Comment actions Permalink

This is odd.  I've had the stub show up sometime and real code show up sometime.

Comment actions Permalink

Hello Craig,

Indeed RubyMine uses stubs for it's internal codeinsight purposes.
There are 2 kinds of stubs used: skeletons of runtime core classes, which are compiled into native code, and some artificial skeletons which you mentioned in previous message.
Maybe we can just do not navigate to the second kind of stubs.



Please sign in to leave a comment.