Class: ActiveStorage::Reflection::HasOneAttachedReflection

Inherits:
HasAttachedReflection
  • Object
show all
Defined in:
lib/active_storage/reflection.rb

Overview

Holds all the metadata about a has_one_attached attachment as it was specified in the Active Record class.

Instance Method Summary collapse

Methods inherited from HasAttachedReflection

#named_variants, #variant

Instance Method Details

#macroObject

:nodoc:



18
19
20
# File 'lib/active_storage/reflection.rb', line 18

def macro
  :has_one_attached
end