Revision f4459c11
Added by David Davis about 8 years ago
db/seeds.d/13-compute_profiles.rb | ||
---|---|---|
[
|
||
{ :name => '1-Small' },
|
||
{ :name => '2-Medium' },
|
||
{ :name => '3-Large' },
|
||
{ :name => '3-Large' }
|
||
].each do |input|
|
||
cp = ComputeProfile.create input
|
||
raise "Unable to create hardware profile: #{format_errors m}" if cp.nil? || cp.errors.any?
|
Also available in: Unified diff
Refs #3809 - Turning on some rubocop cops