Project

General

Profile

« Previous | Next » 

Revision 5656ef86

Added by Ohad Levy about 14 years ago

  • ID 5656ef864cf7c3ceb6e93b756b0f95f63a9a34b2

fixes #216 - Validate uniqueness of a parameter name for Individual hosts

View differences:

app/models/group_parameter.rb
class GroupParameter < Parameter
belongs_to :hostgroup
validates_presence_of :hostgroup_id
validates_uniqueness_of :name
end

Also available in: Unified diff