Sha256: b64bdacc911a0b3554c3693b0521df2272539f83e1857559c34256550410bec8

Contents?: true

Size: 179 Bytes

Versions: 25

Compression:

Stored size: 179 Bytes

Contents

module StorageRoom
  
  class ManyAssociationField < AssociationField
    def add_to_entry_class(klass) # :nodoc:
      super
      klass.send(:many, identifier)
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
storage_room-0.3.4 lib/storage_room/embeddeds/fields/associations/many_association_field.rb
storage_room-0.3.3 lib/storage_room/embeddeds/fields/associations/many_association_field.rb
storage_room-0.3.2 lib/storage_room/embeddeds/fields/associations/many_association_field.rb
storage_room-0.3.1 lib/storage_room/embeddeds/fields/associations/many_association_field.rb
storage_room-0.3.0 lib/storage_room/embeddeds/fields/associations/many_association_field.rb