Sha256: 5ad8f781003b3c81abc10b890176c586c8f63a6f589344db6603270802dfb6c4
Contents?: true
Size: 649 Bytes
Versions: 2
Compression:
Stored size: 649 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 require Pathname(__FILE__).dirname.expand_path / 'dm-accepts_nested_attributes' / 'nested_attributes' # monkeypatches for dm-core/associations/(many_to_one.rb and one_to_many.rb) require Pathname(__FILE__).dirname.expand_path / 'dm-accepts_nested_attributes' / 'associations' # Include the plugin in Model DataMapper::Resource.append_inclusions DataMapper::NestedAttributes
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
snusnu-dm-accepts_nested_attributes-0.0.1 | lib/dm-accepts_nested_attributes.rb |
snusnu-dm-accepts_nested_attributes-0.0.2 | lib/dm-accepts_nested_attributes.rb |