Flowdock
method

attached?

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: One
attached?() public

Returns true if an attachment has been made.

class User < ApplicationRecord
  has_one_attached :avatar
end

User.new.avatar.attached? # => false
Show source
Register or log in to add new notes.