method

base_class

Importance_1
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Base
base_class() public

Returns the base AR subclass that this class descends from. If A extends AR::Base, A.base_class will return A. If B descends from A through some arbitrarily deep hierarchy, B.base_class will return A.

Show source
Register or log in to add new notes.