Class: ActiveStorage::Reflection::HasOneAttachedReflection
- Inherits:
-
HasAttachedReflection
- Object
- ActiveRecord::Reflection::MacroReflection
- HasAttachedReflection
- ActiveStorage::Reflection::HasOneAttachedReflection
- 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
-
#macro ⇒ Object
:nodoc:.
Methods inherited from HasAttachedReflection
Instance Method Details
#macro ⇒ Object
:nodoc:
18 19 20 |
# File 'lib/active_storage/reflection.rb', line 18 def macro :has_one_attached end |