Closed RuslanKhabibullin closed 3 years ago
Would be good to have test cases that reproduce what's fixed
@PikachuEXE I've added a simple spec that checks that there are no exceptions for entities with owner
enum value. An error can be reproduced with the next Gemfile.local
file + old AssociationRelation
class (with owner
delegation without prefix):
source 'https://rubygems.org'
gem "sqlite3", "~> 1.4"
gem "rails", "~> 6.1.1"
Totals | |
---|---|
Change from base Build 620335788: | 0.0% |
Covered Lines: | 264 |
Relevant Lines: | 266 |
Totals | |
---|---|
Change from base Build 620335788: | 0.0% |
Covered Lines: | 264 |
Relevant Lines: | 266 |
@DmitryTsepelev thank you for your review! Seems like done.
https://github.com/DmitryTsepelev/ar_lazy_preload/issues/49