Sha256: 9d16234fcec381b4a7916d722bd7433d0390a8ef2aad9d35484b007c09b445aa

Contents?: true

Size: 705 Bytes

Versions: 1

Compression:

Stored size: 705 Bytes

Contents

require 'data_mapper/associations/has_many_association'
require 'data_mapper/associations/advanced_has_many_association'
require 'data_mapper/associations/belongs_to_association'
require 'data_mapper/associations/has_one_association'
require 'data_mapper/associations/has_and_belongs_to_many_association'

module DataMapper
  module Associations
  
    def self.included(base)
      base.class_eval do
        include DataMapper::Associations::HasMany
        include DataMapper::Associations::AdvancedHasMany
        include DataMapper::Associations::BelongsTo
        include DataMapper::Associations::HasOne
        include DataMapper::Associations::HasAndBelongsToMany
      end
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datamapper-0.1.1 lib/data_mapper/associations.rb