method
primary_abstract_class
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::Inheritance::ClassMethods
primary_abstract_class()public
Sets the application record class for Active Record
This is useful if your application uses a different class than ApplicationRecord for your primary abstract class. This class will share a database connection with Active Record. It is the class that connects to your primary database.