This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
|
class PhotoTag < ActiveRecord::Base
|
|
belongs_to :photo
|
|
belongs_to :tag
|
|
validates_presence_of :photo_id, :tag_id, :x, :y
|
|
end |