salsify/goldiloader

Issue with Rails 6.0.0.rc1

Closed this issue · 5 comments

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?

This was fixed in #86. Upgrading to goldiloader 3.1.1 should fix the problem.

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 :)

Oops. Looks like I forgot to actually release it! It's up on rubygems.org now.

@nadiyaka - Can you confirm this issue is fixed in Goldiloader 3.1.1?

@nadiyaka - Can you confirm this issue is fixed in Goldiloader 3.1.1?

Yes! Thank you :)