Revision ab73d5cf
Added by Daniel Lobato Garcia over 8 years ago
app/models/container.rb | ||
---|---|---|
1 | 1 |
class Container < ActiveRecord::Base |
2 |
include Authorizable |
|
3 |
|
|
2 | 4 |
belongs_to :compute_resource |
3 | 5 |
belongs_to :image, :class_name => 'DockerImage', :foreign_key => 'docker_image_id' |
4 | 6 |
belongs_to :tag, :class_name => 'DockerTag', :foreign_key => 'docker_tag_id' |
Also available in: Unified diff
Fixes #8236: 1.6 compatibility