Class: ActiveStorage::Reflection::HasOneAttachedReflection
- Inherits:
-
ActiveRecord::Reflection::MacroReflection
- Object
- ActiveRecord::Reflection::MacroReflection
- 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:.
Instance Method Details
#macro ⇒ Object
:nodoc:
8 9 10 |
# File 'lib/active_storage/reflection.rb', line 8 def macro :has_one_attached end |