diff --git a/app/models/ip_address.rb b/app/models/ip_address.rb index add206bbc..ee8b2c1ad 100644 --- a/app/models/ip_address.rb +++ b/app/models/ip_address.rb @@ -42,4 +42,8 @@ class IpAddress < ApplicationRecord def readonly? true end + + def html_data_attributes + super & attributes.keys.map(&:to_sym) + end end