Issue with Rails 6.0.0.rc1
nadiyaka opened this issue · comments
Nadiya Karachevska commented
I have received many duplicated errors associated with Goldiloader after Rails update to 6.0.0.rc1 version.
NoMethodError:
undefined method `set_value' for #<ActiveRecord::AssociationRelation []>
Did you mean? offset_value
# .../ruby-2.6.2/gems/goldiloader-3.1.0/lib/goldiloader/active_record_patches.rb:63:in `auto_include_value='
# .../ruby-2.6.2/gems/goldiloader-3.1.0/lib/goldiloader/active_record_patches.rb:73:in `merge_single_values'
Can you please help me to fix them?
Joel Turkel commented
This was fixed in #86. Upgrading to goldiloader 3.1.1 should fix the problem.
Nadiya Karachevska commented
Thank you! I checked on rubygems.org that I use the last version of your gem, but I didn't know you have a new one here :)
Joel Turkel commented
Oops. Looks like I forgot to actually release it! It's up on rubygems.org now.
Joel Turkel commented
@nadiyaka - Can you confirm this issue is fixed in Goldiloader 3.1.1?
Nadiya Karachevska commented
@nadiyaka - Can you confirm this issue is fixed in Goldiloader 3.1.1?
Yes! Thank you :)