Flowdock
method

attached?

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

Returns true if an attachment has been made.

class User < ActiveRecord::Base
  has_one_attached :avatar
end

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