Module: ActiveStorage::Reflection::ReflectionExtension
- Defined in:
- activestorage/lib/active_storage/reflection.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#add_attachment_reflection(model, name, reflection) ⇒ Object
32 33 34 |
# File 'activestorage/lib/active_storage/reflection.rb', line 32 def (model, name, reflection) model. = model..merge(name.to_s => reflection) end |