Cross Reference: tool.rb
xref
: /
ontohub
/
app
/
models
/
tool.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
class
Tool
<
ActiveRecord
::
Base
has_many
:
ontologies
attr_accessible
:
name
, :
description
, :
url
validates
:
name
,
:
presence
=>
true
,
:
uniqueness
=>
true
validates
:
url
,
:
format
=>
{ :
with
=>
URI
::
regexp
(
Settings.allowed
_iri_schemes
)
}
end