Revision abd8f1d1
Added by Daniel Lobato Garcia over 9 years ago
app/models/compute_attribute.rb | ||
---|---|---|
class ComputeAttribute < ActiveRecord::Base
|
||
|
||
attr_accessible :compute_profile_id, :compute_resource_id, :vm_attrs
|
||
audited :associated_with => :compute_profile
|
||
|
||
... | ... | |
def update_name
|
||
self.name = pretty_vm_attrs if pretty_vm_attrs.present?
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
Refs #3809 - Remove cops for empty lines