Project

General

Profile

« Previous | Next » 

Revision 8387eb79

Added by Shlomi Zadok over 8 years ago

fixes #11037 - Add ByIdName to environment model

View differences:

app/models/environment.rb
class Environment < ActiveRecord::Base
extend FriendlyId
friendly_id :name
include Taxonomix
include Authorizable
include Parameterizable::ByName
include Parameterizable::ByIdName
validates_lengths_from_database
before_destroy EnsureNotUsedBy.new(:hosts, :hostgroups)

Also available in: Unified diff