Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (12 sloc) 0.398 kb
require 'pathname'
require 'dm-core'
require 'dm-types'
require 'dm-timestamps'
require 'dm-validations'
require 'dm-aggregates'
require 'dm-is-remixable'
require 'dm-is-rateable'
# Require plugin-files
require Pathname(__FILE__).dirname.expand_path / 'dm-is-commentable' / 'is' / 'commentable.rb'
# Include the plugin in Resource
DataMapper::Model.append_extensions DataMapper::Is::Commentable
Jump to Line
Something went wrong with that request. Please try again.