Revision cc6d0d73
Added by David Davis almost 7 years ago
app/models/container.rb | ||
---|---|---|
24 | 24 |
accepts_nested_attributes_for :exposed_ports, :allow_destroy => true |
25 | 25 |
scoped_search :on => :name |
26 | 26 |
|
27 |
attr_accessible :command, :repository_name, :name, :compute_resource_id, :entrypoint, |
|
28 |
:cpu_set, :cpu_shares, :memory, :tty, :attach_stdin, :registry_id, |
|
29 |
:attach_stdout, :attach_stderr, :tag, :uuid, :environment_variables_attributes, |
|
30 |
:katello, :exposed_ports_attributes, :dns |
|
31 |
|
|
32 | 27 |
validates :name, :uniqueness => { :scope => :compute_resource_id } |
33 | 28 |
|
34 | 29 |
def repository_pull_url |
Also available in: Unified diff
Fixes #15888 - Remove attr_accessible calls