Sha256: 66781fc6f5bcd916ee8f9ec5495fa69eab6a6eb63eddea48b86eeb6ff8af9d7d
Contents?: true
Size: 282 Bytes
Versions: 1
Compression:
Stored size: 282 Bytes
Contents
class DockerTag < ActiveRecord::Base belongs_to :image, :class_name => 'DockerImage', :foreign_key => 'docker_image_id' attr_accessible :tag, :image validates :tag, :presence => true, :uniqueness => { :scope => :docker_image_id } validates :image, :presence => true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_docker-0.2.0 | app/models/docker_tag.rb |