TwilightCoders / active_record-mti

ActiveRecord support for PostgreSQL's native inherited tables (multi-table inheritance)
MIT License
98 stars 7 forks source link

fix mti table name calculation for Rails 6 #13

Closed sjaveed closed 3 years ago

sjaveed commented 4 years ago

Rails 6 has the concept of multiple database connections. We need to use the superclass of the class exposed in AR to get MTI table calculations to work.