Sha256: 2028c7d4afcd95cccf581ea5195a1a3fb625ce77b58af78b080e36693028d6aa
Contents?: true
Size: 325 Bytes
Versions: 10
Compression:
Stored size: 325 Bytes
Contents
module StorageRoom class AssociationField < Field key :collection_url def add_to_entry_class(klass) # :nodoc: super collection end # The target collection of the association field def collection @collection ||= Collection.load(self.collection_url) end end end
Version data entries
10 entries across 10 versions & 1 rubygems