Revision eaa6aec0
Added by Joseph Magen almost 11 years ago
- ID eaa6aec0023de21f0565b33e98f4c68990c0c2e2
app/models/nic/bmc.rb | ||
---|---|---|
class BMC < Managed
|
||
|
||
ATTRIBUTES = [:username, :password, :provider]
|
||
attr_accessible *ATTRIBUTES
|
||
attr_accessible :updated_at, *ATTRIBUTES
|
||
|
||
PROVIDERS = %w(IPMI)
|
||
validates_inclusion_of :provider, :in => PROVIDERS
|
Also available in: Unified diff
fixes #2489 - fixes BMC password caused by rails bug accepts_nested_attributes_for and serialized child field