diff --git a/app/models/concerns/helpable.rb b/app/models/concerns/helpable.rb index ee0c48f1c..8e923308d 100644 --- a/app/models/concerns/helpable.rb +++ b/app/models/concerns/helpable.rb @@ -56,7 +56,7 @@ def register_url if [200, 201].include?(response.status) # update minted column after first successful registration in handle system - self.update_columns(minted: Time.zone.now, updated: Time.zone.now) if minted.blank? + self.update_attributes(minted: Time.zone.now, updated: Time.zone.now) if minted.blank? logger.info "[Handle] URL for DOI " + doi + " updated to " + url + "." response