Closed Epigene closed 1 month ago
Hello,
I'm using Goldiloader v5.3.0 and sometimes I get NoMethodError: undefined method 'auto_include' for #<ActiveRecord::Relation, which seems impossible. I know this is occurring inside a tricky scope-using :through association:
NoMethodError: undefined method 'auto_include' for #<ActiveRecord::Relation
has_many :things, -> { where(latest_revision: true).auto_include(false) }, through: :other_things
Any insight as to what might be going wrong?
Pfft, false alarm, people had mis-merged Gemfile and omitted the gem itself.
Hello,
I'm using Goldiloader v5.3.0 and sometimes I get
NoMethodError: undefined method 'auto_include' for #<ActiveRecord::Relation
, which seems impossible. I know this is occurring inside a tricky scope-using :through association:Any insight as to what might be going wrong?