Method: ActiveStorage::Attached::Changes::DetachMany#initialize
- Defined in:
- activestorage/lib/active_storage/attached/changes/detach_many.rb
#initialize(name, record, attachments) ⇒ DetachMany
Returns a new instance of DetachMany.
7 8 9 |
# File 'activestorage/lib/active_storage/attached/changes/detach_many.rb', line 7 def initialize(name, record, ) @name, @record, = name, record, end |