Project

General

Profile

« Previous | Next » 

Revision edf4198b

Added by Ohad Levy almost 14 years ago

  • ID edf4198b504808ba4bec5a354500049e0dbef44a

fixes #271 - remove active scaffold plugin

View differences:

app/models/media.rb
:message => "Only URLs with schema http://, https://, ftp:// or nfs:// are allowed (e.g. nfs://server/vol/dir)"
alias_attribute :os, :operatingsystem
alias_attribute :to_s, :name
alias_attribute :to_label, :name
before_destroy Ensure_not_used_by.new(:hosts)
def to_s
name
end
end

Also available in: Unified diff