Sha256: f1a55adecfee88f44bb9d55e0fb2b13264410aa1f305881f067a0396ad988aaa
Contents?: true
Size: 648 Bytes
Versions: 3
Compression:
Stored size: 648 Bytes
Contents
# Needed to import datamapper and other gems require 'rubygems' require 'pathname' # Add all external dependencies for the plugin here gem 'dm-core', '>=0.9.11' gem 'dm-validations', '>=0.9.11' require 'dm-core' require 'dm-validations' # Require plugin-files dir = Pathname(__FILE__).dirname.expand_path / 'dm-accepts_nested_attributes' require dir / 'resource' require dir / 'association_proxies' require dir / 'nested_attributes' # Include the plugin in Model DataMapper::Model.append_extensions DataMapper::NestedAttributes::ClassMethods DataMapper::Resource.append_inclusions DataMapper::NestedAttributes::CommonInstanceMethods
Version data entries
3 entries across 3 versions & 1 rubygems