Is it possible to inner join across multiple databases in Rails?
问题 I'm having difficult accessing data with a has_many :through association where some of the tables live in a separate database. # database_one class Input < ApplicationRecord belongs_to :user # Works great end # database_two class User < AbstractClass belongs_to :group # Works great has_many :inputs # Works great end # database_two class Group < AbstractClass has_many :users # Works great has_many :inputs, through: :users # Does not work at all end class AbstractClass < ApplicationRecord self