Skip to content

Commit

Permalink
added a controlled vocabulary to a collection for managing schema names
Browse files Browse the repository at this point in the history
  • Loading branch information
scleveland committed Mar 9, 2012
1 parent 40c0820 commit e3fb063
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/yogo/collection/data.rb
Expand Up @@ -29,6 +29,7 @@ class Data
#has n, :collection_associations, :model => "Yogo::CollectionAssociation", :child_key=> :source_collection_id
#has n, :collections, self, :through => :collection_associations, :via => :target_collection
has n, :schema, :model => 'Yogo::Collection::Property', :child_key => [:data_collection_id]
belongs_to :controlled_vocabulary, :model => 'Yogo::Collection::Property', :required => false

include Collection::Base
include Data::ModelConfiguration
Expand Down

0 comments on commit e3fb063

Please sign in to comment.