Cross Reference: metadatum.rb
xref
: /
ontohub
/
app
/
models
/
metadatum.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
metadatum.rb revision 555b7fd96768daf9592e7ddbd4217d784b08e451
65b27d845f182167aa1620d6225336d722a7e7c5
Martin Pitt
class
Metadatum
<
ActiveRecord
::
Base
65b27d845f182167aa1620d6225336d722a7e7c5
Martin Pitt
4ed565e51a4f016ecd6765251a318087a91fe534
Serge Hallyn
belongs_to
:
metadatable
,
65b27d845f182167aa1620d6225336d722a7e7c5
Martin Pitt
:
polymorphic
=>
true
,
65b27d845f182167aa1620d6225336d722a7e7c5
Martin Pitt
:
counter_cache
=>
true
65b27d845f182167aa1620d6225336d722a7e7c5
Martin Pitt
65b27d845f182167aa1620d6225336d722a7e7c5
Martin Pitt
belongs_to
:
user
65b27d845f182167aa1620d6225336d722a7e7c5
Martin Pitt
0af993195cbd57cff700c7c90ee8f95c2a1ef8aa
Michael H. Warfield
attr_accessible
:
key
, :
value
0af993195cbd57cff700c7c90ee8f95c2a1ef8aa
Michael H. Warfield
f3b8088dd8a65bc1ef7b0efcccfbe8c6c8d33202
Dwight Engen
validates_format_of
:
key
,
f3b8088dd8a65bc1ef7b0efcccfbe8c6c8d33202
Dwight Engen
:
with
=>
URI
::
regexp
(
Settings.allowed
_iri_schemes
)
,
f3b8088dd8a65bc1ef7b0efcccfbe8c6c8d33202
Dwight Engen
:
if
=> :
key
?
end