lib/avo/base_resource.rb in avo-2.15.3 vs lib/avo/base_resource.rb in avo-2.16.0
- old
+ new
@@ -261,10 +261,10 @@
fields_by_database_id = get_field_definitions
.reject do |field|
field.computed
end
.map do |field|
- [field.database_id(model).to_s, field]
+ [field.database_id.to_s, field]
end
.to_h
# Write the field values
params.each do |key, value|