
Modifies ActiveRecord 4+ with the ability to store the actual class (instead of the base class) in polymorphic _type columns when using STI
The StoreBaseSTIClass gem offers a tailored solution for developers utilizing Single Table Inheritance (STI) with ActiveRecord. By changing the way base class data is stored within polymorphic_type columns, this gem addresses potential performance pitfalls that can arise from the default behavior. Specifically, it allows ActiveRecord to default to storing either the base class or the actual class, catering to varying needs without compromising existing functionality.
The introduction of the store_base_sti_class configuration option enhances flexibility while maintaining compatibility with legacy options. This gem effectively aids developers who want to optimize their database performance and streamline interactions with subclasses in their Rails applications.

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.