1
0
mirror of https://github.com/danbee/my-images synced 2025-03-04 08:49:05 +00:00
my-images/app/models/image.rb
2024-03-25 20:26:50 -05:00

9 lines
141 B
Ruby

class Image < ActiveRecord::Base
dragonfly_accessor :image
validates :image, presence: true
belongs_to :user
belongs_to :album
end