instance method identify_without_saving

Ruby on Rails 7.1.6

Since v6.1.7.10

Available in: v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

identify_without_saving()

No documentation comment.

Source
# File activestorage/app/models/active_storage/blob/identifiable.rb, line 10
  def identify_without_saving
    unless identified?
      self.content_type = identify_content_type
      self.identified = true
    end
  end

Defined in activestorage/app/models/active_storage/blob/identifiable.rb line 10 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveStorage::Blob::Identifiable

Type at least 2 characters to search.

↑↓ navigate · open · esc close