Revision c80f3b10
Added by Tom Caspy over 7 years ago
app/models/docker_registry.rb | ||
---|---|---|
3 | 3 |
include Taxonomix |
4 | 4 |
include Encryptable |
5 | 5 |
|
6 |
attr_accessible :name, :url, :username, :password, :locations, :organizations |
|
7 |
|
|
6 | 8 |
has_many :containers, :foreign_key => "registry_id", :dependent => :destroy |
7 | 9 |
encrypts :password |
8 | 10 |
|
Also available in: Unified diff
fixes #7230 - rails 4 compatibility