You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During my Rails upgrade from 7.1.4.1 to 7.2.1.2, I got an error:
NoMethodError:
undefined method `assign_attributes' for #<Uploadcare::Rails::Group:0x000000016c9338a8>
After some research, it looks like Uploadcare::Rails::Group rely on the method assign_attributes which is defined in ActiveModel::AttributesAssignment.
Uploadcare::Rails::Group includes Objects::Loadable which includes ActiveRecord::AttributeAssignment.
Describe the bug
During my Rails upgrade from
7.1.4.1
to7.2.1.2
, I got an error:After some research, it looks like
Uploadcare::Rails::Group
rely on the methodassign_attributes
which is defined in ActiveModel::AttributesAssignment.Uploadcare::Rails::Group
includesObjects::Loadable
which includesActiveRecord::AttributeAssignment
.Method
assign_attributes
is notActiveRecord
's responsability therefore it has been remove from ActiveRecord::AttributeAssignmentSince
ActiveModel::AttributesAssignment
is no more included inActiveRecord::AttributeAssignment
the methodassign_attributes
is undefined.EDIT
It looks like it has been fix for you main branch cbf9245 but hasn't been released.
The text was updated successfully, but these errors were encountered: