I have a rails 6.0 app that uses polymorphic_integer_type 2.2.5. Apparently the latest version 2.3.1 has a dependency of activerecord < 6 but we've not seen issues so far.
When I upgraded to rails 6.1 recently, I got
undefined method `association' for #<ActiveRecord::TableMetadata:0x00007ff3db412018>
from this line. Changing :association to :reflection seems to fix the issue.
I think I can upgrade to polymorphic_integer_type 2.3.1 and try to make the same change to :reflection but seeing 2.3.1 doesn't support Rails 6.0, are there any known issues right now with rails 6.0?
I have a rails 6.0 app that uses polymorphic_integer_type 2.2.5. Apparently the latest version 2.3.1 has a dependency of activerecord < 6 but we've not seen issues so far.
When I upgraded to rails 6.1 recently, I got
from this line. Changing
:association
to:reflection
seems to fix the issue.I think I can upgrade to polymorphic_integer_type 2.3.1 and try to make the same change to
:reflection
but seeing 2.3.1 doesn't support Rails 6.0, are there any known issues right now with rails 6.0?