Sha256: 30b35cdacfbea714db4104581a56ac7627cc3f387fc6ce369e7d853a5fb93fc1

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 Bytes

Contents

require 'data_mapper/associations/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::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.0 lib/data_mapper/associations.rb