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
22 23 24 |
# File 'activestorage/lib/active_storage/reflection.rb', line 22 def (model, name, reflection) model. = model..merge(name.to_s => reflection) end |