method
new
rails latest stable - Class:
ActiveStorage::Attached::Changes::CreateOne
new(name, record, attachable)public
No documentation available.
# File activestorage/lib/active_storage/attached/changes/create_one.rb, line 10
def initialize(name, record, attachable)
@name, @record, @attachable = name, record, attachable
blob.identify_without_saving
end