Sha256: 684caa2da631e1c3b482c8f1cb6a52b82b817c552430acd9de19eb041246db97
Contents?: true
Size: 412 Bytes
Versions: 13
Compression:
Stored size: 412 Bytes
Contents
require 'dm-core' DataMapper::Model.append_extensions(Recommendable::Rater::ClassMethods) DataMapper::Model.append_extensions(Recommendable::Ratable::ClassMethods) module Recommendable::Ratable::InstanceMethods def recommendable?() self.class.recommendable? end end DataMapper::Model.append_inclusions(Recommendable::Ratable::InstanceMethods) Recommendable.configure { |config| config.orm = :data_mapper }
Version data entries
13 entries across 13 versions & 1 rubygems