Skip to content

Instantly share code, notes, and snippets.

@benlovell
Created February 18, 2016 21:26
Show Gist options
  • Save benlovell/b548b46225c13b2dd8a7 to your computer and use it in GitHub Desktop.
Save benlovell/b548b46225c13b2dd8a7 to your computer and use it in GitHub Desktop.
puts RootController.ancestors
RootController
#<Module:0x007fc9371c7318>
ApplicationController
#<Module:0x007fc935d71c60>
#<Module:0x007fc932fe66b0>
#<Module:0x007fc932fe66d8>
ActionController::Base
Airbrake::Rails::ControllerMethods
ActionDispatch::Routing::RouteSet::MountedHelpers
ActionController::Caching::Pages
ActionController::ParamsWrapper
ActionController::Instrumentation
ActionController::Rescue
ActionController::HttpAuthentication::Token::ControllerMethods
ActionController::HttpAuthentication::Digest::ControllerMethods
ActionController::HttpAuthentication::Basic::ControllerMethods
ActionController::DataStreaming
ActionController::Streaming
ActionController::ForceSSL
ActionController::RequestForgeryProtection
ActionController::Flash
ActionController::Cookies
ActionController::StrongParameters
ActiveSupport::Rescuable
ActionController::ImplicitRender
ActionController::MimeResponds
ActionController::Caching
ActionController::Caching::Fragments
ActionController::Caching::ConfigMethods
AbstractController::Callbacks
ActiveSupport::Callbacks
ActionController::EtagWithTemplateDigest
ActionController::ConditionalGet
ActionController::Head
ActionController::Renderers::All
ActionController::Renderers
ActionController::Rendering
ActionView::Layouts
ActionView::Rendering
ActionController::Redirecting
ActionController::RackDelegation
ActiveSupport::Benchmarkable
AbstractController::Logger
ActionController::UrlFor
AbstractController::UrlFor
ActionDispatch::Routing::UrlFor
ActionDispatch::Routing::PolymorphicRoutes
ActionController::ModelNaming
ActionController::HideActions
ActionController::Helpers
AbstractController::Helpers
AbstractController::AssetPaths
AbstractController::Translation
AbstractController::Rendering
ActionView::ViewPaths
ActionController::Metal
AbstractController::Base
ActiveSupport::Configurable
Object
ActiveSupport::Dependencies::Loadable
PP::ObjectMixin
JSON::Ext::Generator::GeneratorMethods::Object
Kernel
BasicObject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment