Class: ActiveStorage::Reflection::HasOneAttachedReflection

Inherits:
ActiveRecord::Reflection::MacroReflection
  • 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

Instance Method Details

#macroObject

:nodoc:



8
9
10
# File 'lib/active_storage/reflection.rb', line 8

def macro
  :has_one_attached
end