Sha256: b76e28bf3c48a92fcb72e121ec6b45a6ebec62b52dc9dfc7237da88682b53d9c

Contents?: true

Size: 877 Bytes

Versions: 14

Compression:

Stored size: 877 Bytes

Contents

module ActiveMetadata::Persistence::ActiveRecord

  require "model/active_record/note"
  require "model/active_record/history"
  require "model/active_record/watcher"
  require "model/active_record/attachment"
  
  require "active_metadata/persistence/active_record/note"
  require "active_metadata/persistence/active_record/history"
  require "active_metadata/persistence/active_record/watcher"
  require "active_metadata/persistence/active_record/attachment"
  
  def self.included(receiver)
    receiver.send :include, InstanceMethods
  end
              
  module InstanceMethods
    
    include ActiveMetadata::Persistence::ActiveRecord::Note
    include ActiveMetadata::Persistence::ActiveRecord::History
    include ActiveMetadata::Persistence::ActiveRecord::Watcher
    include ActiveMetadata::Persistence::ActiveRecord::Attachment

  end                         

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
active_metadata-0.5.2 lib/active_metadata/persistence/active_record.rb
active_metadata-0.5.1 lib/active_metadata/persistence/active_record.rb
active_metadata-0.5.0 lib/active_metadata/persistence/active_record.rb
active_metadata-0.4.2 lib/active_metadata/persistence/active_record.rb
active_metadata-0.4.1 lib/active_metadata/persistence/active_record.rb
active_metadata-0.3.2 lib/active_metadata/persistence/active_record.rb
active_metadata-0.3.1 lib/active_metadata/persistence/active_record.rb
active_metadata-0.3.0 lib/active_metadata/persistence/active_record.rb
active_metadata-0.2.4 lib/active_metadata/persistence/active_record.rb
active_metadata-0.2.3 lib/active_metadata/persistence/active_record.rb
active_metadata-0.2.2 lib/active_metadata/persistence/active_record.rb
active_metadata-0.2.1 lib/active_metadata/persistence/active_record.rb
active_metadata-0.2.0 lib/active_metadata/persistence/active_record.rb
active_metadata-0.1.9 lib/active_metadata/persistence/active_record.rb