If a product has a user-uploadable photo, which ActiveStorage method should fill in the blank?
class Product << ApplicationRecord
____ :photo
end
a. has_one_attached
b. has_image
c. attached_file
d. acts_as_attachment
Correct answer is :- has_one_attached