with_model icon indicating copy to clipboard operation
with_model copied to clipboard

Create table in same database as `superclass`

Open joelind opened this issue 1 year ago • 1 comments

Before this change, using with_model with a superclass that connects to a database other than the database configured for ActiveRecord::Base would end up creating the table in the wrong database.

joelind avatar Feb 13 '24 21:02 joelind

@nertzy any chance we could have this reviewed and merged? It's an important change to properly work with multiple database connections introduced by Rails 6.

mateuscruz avatar May 08 '24 00:05 mateuscruz