# File lib/her/model/attributes.rb, line 92 def attributes # The natural choice of instance variable naming here would be # `@attributes`. Unfortunately that causes a naming clash when # used with `ActiveModel` version >= 5.2.0. # As of v5.2.0 `ActiveModel` checks to see if `ActiveRecord` # attributes exist, and assumes that if the instance variable # `@attributes` exists on the instance, it is because they are # `ActiveRecord` attributes. @_her_attributes ||= HashWithIndifferentAccess.new end