Flowdock
method

record

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: VariantWithRecord
record() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/app/models/active_storage/variant_with_record.rb, line 51
    def record
      @record ||= if blob.variant_records.loaded?
        blob.variant_records.find { |v| v.variation_digest == variation.digest }
      else
        blob.variant_records.find_by(variation_digest: variation.digest)
      end
    end
Register or log in to add new notes.