Revision 5410421d
Added by Ohad Levy about 13 years ago
- ID 5410421df2ff0dd6c777490de078dbd41afd02eb
app/models/smart_proxy.rb | ||
---|---|---|
# There should be no problem with associating features before the proxy is saved as the whole operation is in a transaction
|
||
before_save :sanitize_url, :associate_features
|
||
before_destroy Ensure_not_used_by.new(:subnets, :domains)
|
||
default_scope :order => 'LOWER(smart_proxies.name)'
|
||
|
||
def self.name_map
|
||
{
|
Also available in: Unified diff
fixed broken tests
added default order and paginations which
fixes #721
fixes #688