1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib
eileencodes 9c721866a0
Fix primary_abstract_class with engines
With engines this would result in an error because there can only be one
`primary_abstract_class`. This is the class that your app connects to on
boot when it's connecting lazily and you're using multiple databases.
This change just removes `primary_abstract_class` from the engine
`ApplicationRecord` classes and keeps them as `self.abstract_class =
true`.

Fixes https://github.com/rails/rails/issues/43247
2021-10-13 15:01:46 -04:00
..
minitest Fix backtraces for generated plugin tests 2020-10-07 15:40:56 -05:00
rails Fix primary_abstract_class with engines 2021-10-13 15:01:46 -04:00
rails.rb Add benchmark method that can be called from anywhere 2020-12-04 15:52:10 +03:00